a64_emit_x64: bug: A64CallSupervisor trampled callee-save registers
This commit is contained in:
parent
e4615a4562
commit
996ffd5488
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ void A64EmitX64::EmitA64SetPC(A64EmitContext& ctx, IR::Inst* inst) {
|
|||
}
|
||||
|
||||
void A64EmitX64::EmitA64CallSupervisor(A64EmitContext& ctx, IR::Inst* inst) {
|
||||
ctx.reg_alloc.HostCall(nullptr);
|
||||
auto args = ctx.reg_alloc.GetArgumentInfo(inst);
|
||||
ASSERT(args[0].IsImmediate());
|
||||
u32 imm = args[0].GetImmediateU32();
|
||||
|
|
Loading…
Reference in a new issue