1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update yjit_codegen.c

This commit is contained in:
Maxime Chevalier-Boisvert 2021-09-15 08:15:58 -07:00 committed by Alan Wu
parent 5e37f280d1
commit 0ad9d1fa48

View file

@ -2217,7 +2217,7 @@ gen_opt_aset(jitstate_t *jit, ctx_t *ctx)
call_ptr(cb, REG0, (void *)rb_ary_store);
// rb_ary_store returns void
// stored value should still be on stack
// stored value should still be on stack
mov(cb, REG0, ctx_stack_opnd(ctx, 0));
// Push the return value onto the stack