[svn:parrot] r43025 - branches/context_unify3/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Dec 12 20:32:09 UTC 2009


Author: bacek
Date: Sat Dec 12 20:32:08 2009
New Revision: 43025
URL: https://trac.parrot.org/parrot/changeset/43025

Log:
Initialize context before pushing.

Modified:
   branches/context_unify3/src/pmc/sub.pmc

Modified: branches/context_unify3/src/pmc/sub.pmc
==============================================================================
--- branches/context_unify3/src/pmc/sub.pmc	Sat Dec 12 20:20:44 2009	(r43024)
+++ branches/context_unify3/src/pmc/sub.pmc	Sat Dec 12 20:32:08 2009	(r43025)
@@ -387,6 +387,7 @@
         /* plain subroutine call
          * create new context, place it in interpreter */
         context = Parrot_pcc_get_signature(INTERP, CURRENT_CONTEXT(INTERP));
+        Parrot_pcc_init_context(INTERP, context, CURRENT_CONTEXT(INTERP));
         CURRENT_CONTEXT(INTERP) = context;
         Parrot_pcc_allocate_registers(INTERP, context, sub->n_regs_used);
         Parrot_pcc_set_sub(interp, context, SELF);


More information about the parrot-commits mailing list