[svn:parrot] r41589 - branches/pcc_reapply/src/call

bacek at svn.parrot.org bacek at svn.parrot.org
Thu Oct 1 09:30:41 UTC 2009


Author: bacek
Date: Thu Oct  1 09:30:40 2009
New Revision: 41589
URL: https://trac.parrot.org/parrot/changeset/41589

Log:
Initialise caller_sig instead of initialising caller_ctx twice. bacek--

Modified:
   branches/pcc_reapply/src/call/context.c

Modified: branches/pcc_reapply/src/call/context.c
==============================================================================
--- branches/pcc_reapply/src/call/context.c	Thu Oct  1 09:28:19 2009	(r41588)
+++ branches/pcc_reapply/src/call/context.c	Thu Oct  1 09:30:40 2009	(r41589)
@@ -1197,7 +1197,7 @@
     ctx->handlers          = PMCNULL;
     ctx->caller_ctx        = NULL;
     ctx->pred_offset       = 0;
-    ctx->caller_ctx        = old;
+    ctx->caller_sig        = NULL;
     ctx->current_sig       = NULL;
 
     if (old) {
@@ -1212,6 +1212,7 @@
         /* end COW */
         ctx->recursion_depth   = old->recursion_depth;
         ctx->caller_ctx        = pmcold;
+        ctx->caller_sig        = old->current_sig;
     }
     else {
         ctx->constants         = NULL;


More information about the parrot-commits mailing list