[ruby-cvs:64547] nobu:r57381 (trunk): compile.c: optimization of defined? in condition

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jan 20 13:27:55 JST 2017


nobu	2017-01-20 13:27:55 +0900 (Fri, 20 Jan 2017)

  New Revision: 57381

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

  Log:
    compile.c: optimization of defined? in condition
    
    * compile.c (compile_branch_condition): trivial optimization of
      defined? expression in a branch condition, where a string is not
      needed, but just a boolean.

  Modified files:
    trunk/compile.c


More information about the ruby-cvs mailing list