[svn:parrot] r44782 - branches/pcc_hackathon_6Mar10/lib/Parrot/Pmc2c

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue Mar 9 00:24:40 UTC 2010


Author: chromatic
Date: Tue Mar  9 00:24:38 2010
New Revision: 44782
URL: https://trac.parrot.org/parrot/changeset/44782

Log:
[lib] Removed CallSignature NULLing at the start of PCCMETHODs, as reusing the
CallSignature is important for returning values.

Modified:
   branches/pcc_hackathon_6Mar10/lib/Parrot/Pmc2c/PCCMETHOD.pm

Modified: branches/pcc_hackathon_6Mar10/lib/Parrot/Pmc2c/PCCMETHOD.pm
==============================================================================
--- branches/pcc_hackathon_6Mar10/lib/Parrot/Pmc2c/PCCMETHOD.pm	Mon Mar  8 23:53:51 2010	(r44781)
+++ branches/pcc_hackathon_6Mar10/lib/Parrot/Pmc2c/PCCMETHOD.pm	Tue Mar  9 00:24:38 2010	(r44782)
@@ -1,4 +1,4 @@
-# Copyright (C) 2004-2008, Parrot Foundation.
+# Copyright (C) 2004-2010, Parrot Foundation.
 # $Id$
 
 package Parrot::Pmc2c::PCCMETHOD;
@@ -416,8 +416,6 @@
     PMC * const _ccont       = Parrot_pcc_get_continuation(interp, _ctx);
     PMC * const _call_object = Parrot_pcc_get_signature(interp, _ctx);
 
-    Parrot_pcc_set_signature(interp, _ctx, NULL);
-
     { /* BEGIN PARMS SCOPE */
 END
     $e->emit(<<"END");


More information about the parrot-commits mailing list