ruby-changes:69129
From: John <ko1@a...>
Date: Thu, 21 Oct 2021 08:20:56 +0900 (JST)
Subject: [ruby-changes:69129] e527912fe0 (master): Use jit_prepare_routine_call
https://git.ruby-lang.org/ruby.git/commit/?id=e527912fe0 From e527912fe0188f8dc614bdbef25bfdb724fea9ed Mon Sep 17 00:00:00 2001 From: John Hawthorn <john@h...> Date: Fri, 27 Aug 2021 09:11:55 -0700 Subject: Use jit_prepare_routine_call --- yjit_codegen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yjit_codegen.c b/yjit_codegen.c index e79e716794..8558e20f34 100644 --- a/yjit_codegen.c +++ b/yjit_codegen.c @@ -1098,8 +1098,7 @@ gen_putstring(jitstate_t* jit, ctx_t* ctx) https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L1098 VALUE put_val = jit_get_arg(jit, 0); // Save the PC and SP because the callee will allocate - jit_save_pc(jit, REG0); - jit_save_sp(jit, ctx); + jit_prepare_routine_call(jit, ctx, REG0); mov(cb, C_ARG_REGS[0], REG_EC); jit_mov_gc_ptr(jit, cb, C_ARG_REGS[1], put_val); -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/