YJIT: Remove duplicate call to jit_prepare_routine_call()

It's idempotent.
This commit is contained in:
Alan Wu 2022-12-14 15:12:44 -05:00
parent 7a63114f8e
commit 693c01d509
Notes: git 2022-12-14 21:18:06 +00:00

View File

@ -2219,9 +2219,6 @@ fn gen_setinstancevariable(
let ic = jit_get_arg(jit, 1).as_u64(); // type IVC
// The function could raise exceptions.
jit_prepare_routine_call(jit, ctx, asm);
// Save the PC and SP because the callee may allocate
// Note that this modifies REG_SP, which is why we do it first
jit_prepare_routine_call(jit, ctx, asm);