[ruby-cvs:61790] nobu:r54628 (trunk): compile.c: fix dangling link

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Apr 18 16:07:03 JST 2016


nobu	2016-04-18 16:07:03 +0900 (Mon, 18 Apr 2016)

  New Revision: 54628

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

  Log:
    compile.c: fix dangling link
    
    * compile.c (iseq_peephole_optimize): should not replace the
      current target INSN, not to follow the replaced dangling link in
      the caller.  [ruby-core:74993] [Bug #11816]

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


More information about the ruby-cvs mailing list