Author: tene
Date: Mon Dec 22 22:53:14 2008
New Revision: 34268
Modified:
branches/pctloop/compilers/pct/src/PAST/Compiler.pir
Log:
[pct]: Use a goto instead of an exception in one place.
Modified: branches/pctloop/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- branches/pctloop/compilers/pct/src/PAST/Compiler.pir (original)
+++ branches/pctloop/compilers/pct/src/PAST/Compiler.pir Mon Dec 22
22:53:14 2008
@@ -1575,7 +1575,7 @@
ops.'push'(start)
ops.'push'(startlabel)
ops.'push'(body)
- self.'push_throw_typed'(ops, .CONTROL_LOOP_NEXT)
+ ops.'push_pirop'('goto', looplabel)
ops.'push'(redolabel)
ops.'push_pirop'('.local pmc exception')