Restore interpreter regs in ujit hook. Implement leave bytecode.

This commit is contained in:
Maxime Chevalier-Boisvert 2021-01-28 16:58:20 -05:00 committed by Alan Wu
parent 3c7251b41b
commit 2e561ff255
7 changed files with 59 additions and 35 deletions

View file

@ -81,7 +81,7 @@ error !
RSTRING_PTR(rb_iseq_path(reg_cfp->iseq)), \
rb_iseq_line_no(reg_cfp->iseq, reg_pc - reg_cfp->iseq->body->iseq_encoded)); \
} \
if (USE_INSNS_COUNTER && BIN(insn) != BIN(ujit_call_example)) vm_insns_counter_count_insn(BIN(insn));
if (USE_INSNS_COUNTER && BIN(insn) != BIN(ujit_call_example_with_ec)) vm_insns_counter_count_insn(BIN(insn));
#define INSN_DISPATCH_SIG(insn)