mirror of https://github.com/PCSX2/pcsx2.git
EE-rec: don't save useless variable
the 2 static variables are only used to debug stack issue. It saves 2 move instructions by block
This commit is contained in:
parent
464aeecef8
commit
40b5195f0e
|
@ -505,8 +505,10 @@ static DynGenFunc* _DynGen_EnterRecompiledCode()
|
|||
xMOV( ptr32[esp+0x08+cdecl_reserve], ebp );
|
||||
xLEA( ebp, ptr32[esp+0x08+cdecl_reserve] );
|
||||
|
||||
xMOV( ptr[&s_store_esp], esp );
|
||||
xMOV( ptr[&s_store_ebp], ebp );
|
||||
if (EmuConfig.Cpu.Recompiler.StackFrameChecks) {
|
||||
xMOV( ptr[&s_store_esp], esp );
|
||||
xMOV( ptr[&s_store_ebp], ebp );
|
||||
}
|
||||
|
||||
xJMP( DispatcherReg );
|
||||
|
||||
|
|
Loading…
Reference in New Issue