[svn:parrot] r48081 - trunk/compilers/pct/src/PAST

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Tue Jul 13 18:46:53 UTC 2010


Author: pmichaud
Date: Tue Jul 13 18:46:52 2010
New Revision: 48081
URL: https://trac.parrot.org/parrot/changeset/48081

Log:
Revert "[pct] Emit a missing pop_eh to fix TT#1631."
The pre-patch behavior is correct; invoking an exception handler
(CATCH block) should not automatically remove the block from
catching future exceptions.

This reverts commit 946fbea64de09972e47576accba82cfe479a8ebc.

Modified:
   trunk/compilers/pct/src/PAST/Compiler.pir

Modified: trunk/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Compiler.pir	Tue Jul 13 17:08:15 2010	(r48080)
+++ trunk/compilers/pct/src/PAST/Compiler.pir	Tue Jul 13 18:46:52 2010	(r48081)
@@ -694,7 +694,6 @@
     concat $S0, rtype
     ops.'push_pirop'('.local pmc exception')
     ops.'push_pirop'('.get_results (exception)')
-    ops.'push_pirop'('pop_eh')
     children = self.'post_children'(node, 'signature'=>$S0)
     ops.'push'(children)
     handled = self.'uniquereg'('I')


More information about the parrot-commits mailing list