[svn:parrot] r49245 - branches/gc_massacre/compilers/pct/src/PAST

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Wed Sep 22 12:53:50 UTC 2010


Author: pmichaud
Date: Wed Sep 22 12:53:50 2010
New Revision: 49245
URL: https://trac.parrot.org/parrot/changeset/49245

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

Modified:
   branches/gc_massacre/compilers/pct/src/PAST/Compiler.pir

Modified: branches/gc_massacre/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- branches/gc_massacre/compilers/pct/src/PAST/Compiler.pir	Wed Sep 22 12:52:43 2010	(r49244)
+++ branches/gc_massacre/compilers/pct/src/PAST/Compiler.pir	Wed Sep 22 12:53:50 2010	(r49245)
@@ -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