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:
Gregory Hainaut 2015-10-23 19:35:38 +02:00
parent 464aeecef8
commit 40b5195f0e
1 changed files with 4 additions and 2 deletions

View File

@ -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 );