[ruby-cvs:72216] usa:r65116 (ruby_2_4): merge revision(s) 64745: [Backport #15118]

usa at ruby-lang.org usa at ruby-lang.org
Wed Oct 17 18:10:26 JST 2018


usa	2018-10-17 18:10:26 +0900 (Wed, 17 Oct 2018)

  New Revision: 65116

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

  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_4/
  Modified files:
    branches/ruby_2_4/compile.c
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list