Merge pull request #12052 from mitaclaw/profiling-is-something

Announce RSCRATCH clobbering in Jit64::Cleanup() when profiling is enabled
This commit is contained in:
JosJuice 2023-07-23 20:12:43 +02:00 committed by GitHub
commit eb79bf37e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;