diff options
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -913,8 +913,7 @@ leave if (OPT_CHECKED_RUN) { const VALUE *const bp = vm_base_ptr(reg_cfp); if (reg_cfp->sp != bp) { - rb_bug("Stack consistency error (sp: %"PRIdPTRDIFF", bp: %"PRIdPTRDIFF")", - VM_SP_CNT(th, reg_cfp->sp), VM_SP_CNT(th, bp)); + vm_stack_consistency_error(th, reg_cfp, bp); } } |