[svn:parrot] r44966 - branches/pcc_hackathon_6Mar10/src/ops

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Mar 16 20:02:33 UTC 2010


Author: bacek
Date: Tue Mar 16 20:02:29 2010
New Revision: 44966
URL: https://trac.parrot.org/parrot/changeset/44966

Log:
Reuse old CallContext in set_returns

Modified:
   branches/pcc_hackathon_6Mar10/src/ops/core.ops

Modified: branches/pcc_hackathon_6Mar10/src/ops/core.ops
==============================================================================
--- branches/pcc_hackathon_6Mar10/src/ops/core.ops	Tue Mar 16 19:44:15 2010	(r44965)
+++ branches/pcc_hackathon_6Mar10/src/ops/core.ops	Tue Mar 16 20:02:29 2010	(r44966)
@@ -544,8 +544,9 @@
     /* don't let PCC unshift the invocant into the returns */
     interp->current_object = PMCNULL;
 
-    call_sig = Parrot_pcc_build_sig_object_from_op(interp, PMCNULL,
-                     signature, raw_args);
+    call_sig = Parrot_pcc_build_sig_object_from_op(interp,
+            Parrot_pcc_get_signature(interp, CURRENT_CONTEXT(interp)),
+            signature, raw_args);
 
     Parrot_pcc_set_signature(interp, CURRENT_CONTEXT(interp), call_sig);
 


More information about the parrot-commits mailing list