[ruby-cvs:64191] nobu:r57025 (trunk): compile.c: optimize literal nodes

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Dec 8 16:54:58 JST 2016


nobu	2016-12-08 16:54:58 +0900 (Thu, 08 Dec 2016)

  New Revision: 57025

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

  Log:
    compile.c: optimize literal nodes
    
    * compile.c (static_literal_node_p): optimize literal nodes for
      true, false, and nil, which are static literals in specific
      nodes but not in NODE_LIT.

  Modified files:
    trunk/compile.c


More information about the ruby-cvs mailing list