From 86dc8c81ceb51317fc1d0769cef048a1f1adec9e Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 21 Jul 2017 22:45:13 +0000 Subject: compile.c: dump iseq at adjust bug * compile.c (fix_sp_depth): dump instructions at adjust bug too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 991337fa91..b8ce143431 100644 --- a/compile.c +++ b/compile.c @@ -1658,6 +1658,7 @@ fix_sp_depth(rb_iseq_t *iseq, LINK_ANCHOR *const anchor) sp = adjust->label ? adjust->label->sp : 0; if (adjust->line_no != -1 && orig_sp - sp < 0) { + BADINSN_DUMP(anchor, list, NULL); compile_bug(iseq, adjust->line_no, "iseq_set_sequence: adjust bug %d < %d", orig_sp, sp); -- cgit v1.2.3