diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2022-12-14 15:12:44 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2022-12-14 16:17:46 -0500 |
commit | 693c01d50917071433ff1bc7c4d8ce626a12c48e (patch) | |
tree | dd36eb25dc2e1cb48f195883968687eec804d8d9 /yjit | |
parent | 7a63114f8eaba7a1fe8a56a2e665703d9f9cfa8a (diff) | |
download | ruby-693c01d50917071433ff1bc7c4d8ce626a12c48e.tar.gz |
YJIT: Remove duplicate call to jit_prepare_routine_call()
It's idempotent.
Diffstat (limited to 'yjit')
-rw-r--r-- | yjit/src/codegen.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index 16fe837f4d..ab87038c67 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -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); |