aboutsummaryrefslogtreecommitdiffstats
path: root/yjit_codegen.c
diff options
context:
space:
mode:
authorNoah Gibbs <noah.gibbs@shopify.com>2021-10-01 12:17:09 +0100
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:42 -0400
commitbe06112d48b763da1e3f29b03e5e59d2a44e7b72 (patch)
tree8f15daffd7b106ff642b100e9dec22df49084b5d /yjit_codegen.c
parentf36a5a98c02ba38d05d345104b1a6d0c0c1af29b (diff)
downloadruby-be06112d48b763da1e3f29b03e5e59d2a44e7b72.tar.gz
Fix changes from rebase
Diffstat (limited to 'yjit_codegen.c')
-rw-r--r--yjit_codegen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/yjit_codegen.c b/yjit_codegen.c
index 887784a83d..c4dba156cb 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -714,8 +714,7 @@ yjit_gen_block(block_t *block, rb_execution_context_t *ec)
break;
}
- // Move to the next instruction
- p_last_op = p_desc;
+ // Move to the next instruction to compile
insn_idx += insn_len(opcode);
// If the instruction terminates this block
@@ -3591,7 +3590,7 @@ gen_send_iseq(jitstate_t *jit, ctx_t *ctx, const struct rb_callinfo *ci, const r
(blockid_t){ iseq, start_pc_offset }
);
- return true;
+ return YJIT_END_BLOCK;
}
const rb_callable_method_entry_t *