Announce RSCRATCH clobbering in Jit64 when profiling is enabled

This commit is contained in:
mitaclaw 2023-07-19 14:15:42 -07:00 committed by Nayla Hanegan
commit 8e0c30c358
No known key found for this signature in database
GPG key ID: 3075216CED0DB01D

View file

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