Announce RSCRATCH clobbering in Jit64 when profiling is enabled

This commit is contained in:
mitaclaw 2023-07-19 14:15:42 -07:00
parent 9ebfcebdde
commit 70b3db93e0
1 changed files with 1 additions and 0 deletions

View File

@ -469,6 +469,7 @@ bool Jit64::Cleanup()
Imm32(js.downcountAmount));
MOV(64, MDisp(RSCRATCH2, offsetof(JitBlock::ProfileData, ticCounter)), R(RSCRATCH));
ABI_PopRegistersAndAdjustStack({}, 0);
did_something = true;
}
return did_something;