Project

General

Profile

« Previous | Next » 

Revision 5cf36324

Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

merge revision(s) 58810,58894: [Backport #13578]

    compile.c: fix catch-table labels optimization

    * compile.c (remove_unreachable_chunk): do not eliminate chunks
      followed by labels in catch-table entries.
    compile.c: fix possible use of uninitialized value

    LABEL::unremovable added by r58810 is not initialized by
    new_label_body(), making the optimization unstable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e