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

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Wed Sep 22 12:52:44 UTC 2010


Author: pmichaud
Date: Wed Sep 22 12:52:43 2010
New Revision: 49244
URL: https://trac.parrot.org/parrot/changeset/49244

Log:
[pct]:  Change ExceptionHandler to be created with new__p_p_ic to avoid segfault when building Rakudo.

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

Modified: trunk/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Compiler.pir	Wed Sep 22 10:45:52 2010	(r49243)
+++ trunk/compilers/pct/src/PAST/Compiler.pir	Wed Sep 22 12:52:43 2010	(r49244)
@@ -931,7 +931,7 @@
     $S0 = self.'unique'('control_')
     ctrllabel = $P0.'new'('result'=>$S0)
     $S0 = self.'uniquereg'('P')
-    bpost.'push_pirop'('new', $S0, "'ExceptionHandler'", '.CONTROL_RETURN')
+    bpost.'push_pirop'('new', $S0, "['ExceptionHandler']", '.CONTROL_RETURN')
     bpost.'push_pirop'('set_addr', $S0, ctrllabel)
     bpost.'push_pirop'('push_eh', $S0)
     bpost.'add_directive'('.include "except_types.pasm"')


More information about the parrot-commits mailing list