Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12052 from mitaclaw/profiling-is-something
Announce RSCRATCH clobbering in Jit64::Cleanup() when profiling is enabled
  • Loading branch information
JosJuice committed Jul 23, 2023
2 parents a76cc14 + 70b3db9 commit eb79bf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Core/PowerPC/Jit64/Jit.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit eb79bf3

Please sign in to comment.