[ruby-cvs:66692] nagachika:r59514 (ruby_2_4): merge revision(s) 58810, 58894: [Backport #13578]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Aug 5 11:43:08 JST 2017


nagachika	2017-08-05 11:43:08 +0900 (Sat, 05 Aug 2017)

  New Revision: 59514

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59514

  Log:
    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.

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/compile.c
    branches/ruby_2_4/test/ruby/test_optimization.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list