[ruby-cvs:70936] nobu:r63845 (trunk): vm.c: simplified core#hash_merge_kwd

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jul 4 08:56:11 JST 2018


nobu	2018-07-04 08:56:11 +0900 (Wed, 04 Jul 2018)

  New Revision: 63845

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

  Log:
    vm.c: simplified core#hash_merge_kwd
    
    * vm.c (core_hash_merge_kwd): simplified to merge the second hash
      into the first hash.
    
    * compile.c (compile_array): call core#hash_merge_kwd with 2
      hashes always, by passing an new empty hash to at the first
      iteration.

  Modified files:
    trunk/compile.c
    trunk/vm.c


More information about the ruby-cvs mailing list