[ruby-cvs:63480] nobu:r56315 (trunk): compile.c: optimize flip-flop

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Oct 1 19:19:37 JST 2016


nobu	2016-10-01 19:19:36 +0900 (Sat, 01 Oct 2016)

  New Revision: 56315

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

  Log:
    compile.c: optimize flip-flop
    
    * compile.c (compile_flip_flop): simplify generated code.
    * compile.c (compile_branch_condition): flip-flop can appear only
      in coditional expressions.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c
    trunk/test/ruby/test_flip.rb


More information about the ruby-cvs mailing list