summaryrefslogtreecommitdiff
path: root/vm_exec.h
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-01-28 16:58:20 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:28 -0400
commit2e561ff255ea69e50f2d53240332cfd96463ef06 (patch)
tree3711eca121d493aa1f7a7f4e557333275a905c1e /vm_exec.h
parent3c7251b41b8850aab7c64c4885669e9c099d2465 (diff)
Restore interpreter regs in ujit hook. Implement leave bytecode.
Diffstat (limited to 'vm_exec.h')
-rw-r--r--vm_exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_exec.h b/vm_exec.h
index 998dbfb48d..1e12f5cbe3 100644
--- a/vm_exec.h
+++ b/vm_exec.h
@@ -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)