[ruby-cvs:61704] nobu:r54542 (trunk): compile.c: disable tco with rescue

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Apr 11 17:43:07 JST 2016


nobu	2016-04-11 17:43:06 +0900 (Mon, 11 Apr 2016)

  New Revision: 54542

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

  Log:
    compile.c: disable tco with rescue
    
    * compile.c (iseq_optimize): disable tail call optimization in
      rescued, rescue, and ensure blocks.
      [ruby-core:73871] [Bug #12082]

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


More information about the ruby-cvs mailing list