mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-08 23:48:18 +01:00
backend/x64: Move cycles_remaining and cycles_to_run from JitState to stack
This commit is contained in:
parent
d6592c7142
commit
3b2c6afdc2
8 changed files with 25 additions and 29 deletions
|
|
@ -1236,7 +1236,7 @@ void A64EmitX64::EmitTerminalImpl(IR::Term::LinkBlock terminal, IR::LocationDesc
|
|||
return;
|
||||
}
|
||||
|
||||
code.cmp(qword[r15 + offsetof(A64JitState, cycles_remaining)], 0);
|
||||
code.cmp(qword[rsp + ABI_SHADOW_SPACE + offsetof(StackLayout, cycles_remaining)], 0);
|
||||
|
||||
patch_information[terminal.next].jg.emplace_back(code.getCurr());
|
||||
if (auto next_bb = GetBasicBlock(terminal.next)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue