diff --git a/vm_exec.h b/vm_exec.h index 1f2a052ff4..fb86d86165 100644 --- a/vm_exec.h +++ b/vm_exec.h @@ -79,7 +79,7 @@ error ! (reg_cfp->pc - reg_cfp->iseq->body->iseq_encoded), \ 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) vm_insns_counter_count_insn(BIN(insn)); + if (USE_INSNS_COUNTER && BIN(insn) != BIN(ujit_call_example)) vm_insns_counter_count_insn(BIN(insn)); #define INSN_DISPATCH_SIG(insn)