[ruby-cvs:72102] nagachika:r65002 (ruby_2_5): merge revision(s) 64745: [Backport #15118]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Fri Oct 12 00:12:06 JST 2018


nagachika	2018-10-12 00:12:06 +0900 (Fri, 12 Oct 2018)

  New Revision: 65002

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

  Log:
    merge revision(s) 64745: [Backport #15118]
    
    Use opt_{aref,aset} over opt_{aref,aset}_with
    
    * compile.c (iseq_compile_each0): Use `opt_aref`/`opt_aset` over
      `opt_aref_with`/`opt_aset_with` when frozen_string_literal: true,
      not to resurrect the index string on non-Hash receiver.
    
    [Fix GH-1957]
    
    From: chopraanmol1 <chopraanmol1 at gmail.com>

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/compile.c
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list