[ruby-cvs:73427] nobu:r66326 (trunk): Fix infinite loop by ensure

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 11 13:14:31 JST 2018


nobu	2018-12-11 13:14:31 +0900 (Tue, 11 Dec 2018)

  New Revision: 66326

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

  Log:
    Fix infinite loop by ensure
    
    * compile.c (iseq_insert_nop_between_end_and_cont): insert nop so
      that the end of rescue and continuing points are not same, to
      get rid of infinite loop.  [Bug #15385]

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_optimization.rb


More information about the ruby-cvs mailing list