[ruby-cvs:73567] ko1:r66466 (trunk): hide iseq operand object for duphash. [Bug #15440]

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Dec 20 16:17:55 JST 2018


ko1	2018-12-20 16:17:55 +0900 (Thu, 20 Dec 2018)

  New Revision: 66466

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

  Log:
    hide iseq operand object for duphash. [Bug #15440]
    
    * compile.c (compile_array): hide source Hash object.
    
    * hash.c (rb_hash_resurrect): introduced to dup Hash object
      using rb_cHash.

  Modified files:
    trunk/compile.c
    trunk/hash.c
    trunk/insns.def
    trunk/internal.h
    trunk/test/ruby/test_literal.rb


More information about the ruby-cvs mailing list