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

Fix a wrong argument of vm_exec on JIT cancel

This commit is contained in:
Takashi Kokubun 2020-05-01 02:12:42 -07:00
parent 72aa4dd183
commit 90969edf9b
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -256,7 +256,7 @@ compile_inlined_cancel_handler(FILE *f, const struct rb_iseq_constant_body *body
}
// We're not just returning Qundef here so that caller's normal cancel handler can
// push back `stack` to `cfp->sp`.
fprintf(f, " return vm_exec(ec, ec->cfp);\n");
fprintf(f, " return vm_exec(ec, FALSE);\n");
}
// Print the block to cancel JIT execution.