diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-07-21 22:45:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-07-21 22:45:13 +0000 |
commit | 86dc8c81ceb51317fc1d0769cef048a1f1adec9e (patch) | |
tree | 5af2dccf36407d2851bd0ffd49259ae890ba069c | |
parent | f0f7098c71a80a0280f9d4d249b78299e26732ea (diff) | |
download | ruby-86dc8c81ceb51317fc1d0769cef048a1f1adec9e.tar.gz |
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
-rw-r--r-- | compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |