Author: pmichaud
Date: Sat Aug 16 03:08:15 2008
New Revision: 30264
Modified:
trunk/compilers/pct/src/PAST/Compiler.pir
Log:
[pct]: Change 'throw' to 'rethrow' in pir return exception handler.
Modified: trunk/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Compiler.pir (original)
+++ trunk/compilers/pct/src/PAST/Compiler.pir Sat Aug 16 03:08:15 2008
@@ -619,7 +619,7 @@
bpost.'push_pirop'('getattribute', $S0, 'exception', '"payload"')
bpost.'push_pirop'('return', $S0)
bpost.'push'(rethrowlabel)
- bpost.'push_pirop'('throw', 'exception')
+ bpost.'push_pirop'('rethrow', 'exception')
goto sub_done
control_past:
$P0 = self.'as_post'(ctrlpast, 'rtype'=>'*')