[svn:parrot] r49204 - trunk/compilers/pct/src/PAST
pmichaud at svn.parrot.org
pmichaud at svn.parrot.org
Tue Sep 21 17:56:59 UTC 2010
Author: pmichaud
Date: Tue Sep 21 17:56:59 2010
New Revision: 49204
URL: https://trac.parrot.org/parrot/changeset/49204
Log:
[pct]: Update PCT 'return_pir' generation to use new__p_s_ic opcode instead of "handle_types" methodcall.
Modified:
trunk/compilers/pct/src/PAST/Compiler.pir
Modified: trunk/compilers/pct/src/PAST/Compiler.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Compiler.pir Tue Sep 21 17:56:54 2010 (r49203)
+++ trunk/compilers/pct/src/PAST/Compiler.pir Tue Sep 21 17:56:59 2010 (r49204)
@@ -931,9 +931,8 @@
$S0 = self.'unique'('control_')
ctrllabel = $P0.'new'('result'=>$S0)
$S0 = self.'uniquereg'('P')
- bpost.'push_pirop'('new', $S0, "'ExceptionHandler'")
+ bpost.'push_pirop'('new', $S0, "'ExceptionHandler'", '.CONTROL_RETURN')
bpost.'push_pirop'('set_addr', $S0, ctrllabel)
- bpost.'push_pirop'('callmethod', '"handle_types"', $S0, '.CONTROL_RETURN')
bpost.'push_pirop'('push_eh', $S0)
bpost.'add_directive'('.include "except_types.pasm"')
More information about the parrot-commits
mailing list