ruby-cvs:21860
From: ko1 ruby-lang.org
Date: Tue, 25 Dec 2007 02:41:30 +0900 (JST)
Subject: [ruby-cvs:21860] Ruby:r14623 (trunk): * compile.c (iseq_compile_each): add a "pop" insn after break
ko1 2007-12-25 02:41:29 +0900 (Tue, 25 Dec 2007)
New Revision: 14623
Modified files:
trunk/ChangeLog
trunk/bootstraptest/test_knownbug.rb
trunk/bootstraptest/test_syntax.rb
trunk/compile.c
Log:
* compile.c (iseq_compile_each): add a "pop" insn after break
to fix stack consistency error. [ruby-core:14385]
* bootstraptest/test_syntax.rb: add tests for above.
* bootstraptest/test_knownbug.rb: remove fixed bug.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/compile.c?r1=14623&r2=14622
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14623&r2=14622
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_syntax.rb?r1=14623&r2=14622
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=14623&r2=14622