ruby-changes:47272
From: nobu <ko1@a...>
Date: Sat, 22 Jul 2017 07:45:21 +0900 (JST)
Subject: [ruby-changes:47272] nobu:r59387 (trunk): compile.c: dump iseq at adjust bug
nobu 2017-07-22 07:45:13 +0900 (Sat, 22 Jul 2017) New Revision: 59387 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59387 Log: compile.c: dump iseq at adjust bug * compile.c (fix_sp_depth): dump instructions at adjust bug too. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 59386) +++ compile.c (revision 59387) @@ -1658,6 +1658,7 @@ fix_sp_depth(rb_iseq_t *iseq, LINK_ANCHO https://github.com/ruby/ruby/blob/trunk/compile.c#L1658 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/