diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-29 08:36:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-29 08:36:22 +0000 |
commit | 1403dfbf317ad796d92518bf5a7cbc40f2912dff (patch) | |
tree | 3891ad2071214bcd1afea9c4909f11777819078f /compile.c | |
parent | 15960b37e82ba60455c480b1c23e1567255d3e05 (diff) |
compile.c: adjust label reference
* compile.c (new_adjust_body): labels referred by adjuststack
shoud not be optimized away.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -989,6 +989,7 @@ new_adjust_body(rb_iseq_t *iseq, LABEL *label, int line) adjust->link.next = 0; adjust->label = label; adjust->line_no = line; + if (label) LABEL_REF(label); return adjust; } |