emit_arm64_a64: Use correct bitwidth in LinkBlockFast
This commit is contained in:
parent
71b687e549
commit
ce1ba43fea
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ void EmitA64Terminal(oaknut::CodeGenerator& code, EmitContext& ctx, IR::Term::Li
|
||||||
EmitBlockLinkRelocation(code, ctx, terminal.next);
|
EmitBlockLinkRelocation(code, ctx, terminal.next);
|
||||||
}
|
}
|
||||||
|
|
||||||
code.MOV(Wscratch0, A64::LocationDescriptor{terminal.next}.PC());
|
code.MOV(Xscratch0, A64::LocationDescriptor{terminal.next}.PC());
|
||||||
code.STR(Wscratch0, Xstate, offsetof(A64JitState, pc));
|
code.STR(Xscratch0, Xstate, offsetof(A64JitState, pc));
|
||||||
EmitRelocation(code, ctx, LinkTarget::ReturnToDispatcher);
|
EmitRelocation(code, ctx, LinkTarget::ReturnToDispatcher);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue