[ruby-cvs:69588] normal:r62407 (trunk): compile.c: drop freezestring insn on String#-@

normal at ruby-lang.org normal at ruby-lang.org
Thu Feb 15 07:35:13 JST 2018


normal	2018-02-15 07:35:13 +0900 (Thu, 15 Feb 2018)

  New Revision: 62407

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

  Log:
    compile.c: drop freezestring insn on String#-@
    
    Followup to r62039 and remove the redundant freezestring
    insn which was preventing deduplication from String#-@
    
    * compile.c (iseq_peephole_optimize): drop freezestring insn on String#-@
      [ruby-core:85542] [Bug #14475]

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


More information about the ruby-cvs mailing list