mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00
* compile.c (new_label_body): missed backporting r54548 in r54698.
this fixes randomly test failure introduced by r54698. cf. [Bug #12082] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ca68da226f
commit
cf23ad429d
3 changed files with 11 additions and 3 deletions
|
@ -929,6 +929,8 @@ new_label_body(rb_iseq_t *iseq, long line)
|
|||
labelobj->label_no = iseq->compile_data->label_no++;
|
||||
labelobj->sc_state = 0;
|
||||
labelobj->sp = -1;
|
||||
labelobj->set = 0;
|
||||
labelobj->rescued = LABEL_RESCUE_NONE;
|
||||
return labelobj;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue