[ruby-cvs:67521] nobu:r60340 (trunk): compile.c: optimize local variable assignments

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Oct 22 10:46:43 JST 2017


nobu	2017-10-22 10:46:43 +0900 (Sun, 22 Oct 2017)

  New Revision: 60340

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

  Log:
    compile.c: optimize local variable assignments
    
    * compile.c (iseq_peephole_optimize): eliminate simple self
      assignments of a local variable when the result is used.
      follow-up of r60322.

  Modified files:
    trunk/compile.c


More information about the ruby-cvs mailing list