[ruby-cvs:71511] nagachika:r64419 (ruby_2_5): merge revision(s) 63255: [Backport #14708]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Aug 18 00:48:46 JST 2018


nagachika	2018-08-18 00:48:46 +0900 (Sat, 18 Aug 2018)

  New Revision: 64419

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

  Log:
    merge revision(s) 63255: [Backport #14708]
    
    compile.c: fix unconditional branch optimization
    
    * compile.c (iseq_peephole_optimize): add dummy `putnil` after a
      `jump` replacing an unconditional branch, to adjust removed
      `dup`.  [ruby-core:86666] [Bug #14708]

  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