[svn:parrot] r43067 - branches/context_unify3/src/ops

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Dec 15 12:05:38 UTC 2009


Author: bacek
Date: Tue Dec 15 12:05:26 2009
New Revision: 43067
URL: https://trac.parrot.org/parrot/changeset/43067

Log:
Remove setting caller_ctx in op get_params.

Tailcall now doesn't introduce new CallContext but actually reuse current one.

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

Modified: branches/context_unify3/src/ops/core.ops
==============================================================================
--- branches/context_unify3/src/ops/core.ops	Tue Dec 15 10:44:54 2009	(r43066)
+++ branches/context_unify3/src/ops/core.ops	Tue Dec 15 12:05:26 2009	(r43067)
@@ -559,8 +559,6 @@
     if (PObj_get_FLAGS(ccont) & SUB_FLAG_TAILCALL) {
         PObj_get_FLAGS(ccont) &= ~SUB_FLAG_TAILCALL;
         Parrot_pcc_dec_recursion_depth(interp, ctx);
-        Parrot_pcc_set_caller_ctx(interp, ctx,
-            Parrot_pcc_get_caller_ctx(interp, caller_ctx));
     }
 
     goto OFFSET(argc + 2);


More information about the parrot-commits mailing list