[ruby-cvs:60819] nobu:r53658 (trunk): compile.c: fix tailcall optimization
nobu at ruby-lang.org
nobu at ruby-lang.org
Tue Jan 26 15:14:59 JST 2016
nobu 2016-01-26 15:14:59 +0900 (Tue, 26 Jan 2016)
New Revision: 53658
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53658
Log:
compile.c: fix tailcall optimization
* compile.c (iseq_peephole_optimize): don't apply tailcall
optimization to send/invokesuper instructions with blockiseq.
This is a follow-up to the changes in r51903; blockiseq is now
the third operand of send/invokesuper instructions.
[ruby-core:73413] [Bug #12018]
Modified files:
trunk/ChangeLog
trunk/compile.c
trunk/test/ruby/test_optimization.rb
More information about the ruby-cvs
mailing list