[ruby-cvs:72680] nagachika:r65580 (ruby_2_5): merge revision(s) 65350: [Backport #15245]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Nov 7 00:13:01 JST 2018


nagachika	2018-11-07 00:13:01 +0900 (Wed, 07 Nov 2018)

  New Revision: 65580

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

  Log:
    merge revision(s) 65350: [Backport #15245]
    
    compile.c: fix peephole optimization
    
    * compile.c (iseq_peephole_optimize): should `pop` before jump
      instruction which succeeds to `newarray` of a literal object,
      not after.  [ruby-core:89536] [Bug #15245]

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


More information about the ruby-cvs mailing list