[ruby-cvs:67124] nobu:r59946 (trunk): literal symbol by intern

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Sep 17 18:28:59 JST 2017


nobu	2017-09-17 18:28:58 +0900 (Sun, 17 Sep 2017)

  New Revision: 59946

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

  Log:
    literal symbol by intern
    
    * compile.c (iseq_compile_each0): literal symbol should not be
      affected by redefinition of String#intern method.
    
    * vm_insnhelper.c (rb_vm_str_intern): intern a string into a
      symbol directly.

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_literal.rb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list