Rename WriteFinish() to Finish() is safe mem.

It's nothing to do with writing.
This commit is contained in:
Unknown W. Brackets 2013-01-26 09:09:47 -08:00
parent 3e419f513a
commit 9cd5836b85
4 changed files with 6 additions and 6 deletions

View File

@ -110,7 +110,7 @@ void Jit::Comp_FPULS(u32 op)
MOV(32, M((void *)&ssLoadStoreTemp), R(EAX));
MOVSS(fpr.RX(ft), M((void *)&ssLoadStoreTemp));
}
safe.WriteFinish();
safe.Finish();
gpr.UnlockAll();
fpr.ReleaseSpillLocks();
@ -131,7 +131,7 @@ void Jit::Comp_FPULS(u32 op)
MOVSS(M((void *)&ssLoadStoreTemp), fpr.RX(ft));
safe.DoSlowWrite((void *) &Memory::Write_U32, M((void *)&ssLoadStoreTemp));
}
safe.WriteFinish();
safe.Finish();
gpr.UnlockAll();
fpr.ReleaseSpillLocks();

View File

@ -57,7 +57,7 @@ namespace MIPSComp
(this->*mov)(32, bits, gpr.RX(rt), src);
if (safe.PrepareSlowRead(safeFunc))
(this->*mov)(32, bits, gpr.RX(rt), R(EAX));
safe.WriteFinish();
safe.Finish();
gpr.UnlockAll();
}
@ -95,7 +95,7 @@ namespace MIPSComp
}
if (safe.PrepareSlowWrite())
safe.DoSlowWrite(safeFunc, gpr.R(rt));
safe.WriteFinish();
safe.Finish();
if (needSwap)
gpr.UnlockAllX();

View File

@ -477,7 +477,7 @@ bool Jit::JitSafeMem::PrepareSlowRead(void *safeFunc)
return false;
}
void Jit::JitSafeMem::WriteFinish()
void Jit::JitSafeMem::Finish()
{
if (needsCheck_)
{

View File

@ -202,7 +202,7 @@ private:
bool PrepareSlowRead(void *safeFunc);
// Cleans up final code for the memory access.
void WriteFinish();
void Finish();
private:
OpArg PrepareMemoryOpArg();