[svn:parrot] r37973 - branches/pcc_rewiring/src/gc

allison at svn.parrot.org allison at svn.parrot.org
Wed Apr 8 02:38:53 UTC 2009


Author: allison
Date: Wed Apr  8 02:38:51 2009
New Revision: 37973
URL: https://trac.parrot.org/parrot/changeset/37973

Log:
[pcc] Defaults for call signature stored in context.

Modified:
   branches/pcc_rewiring/src/gc/register.c

Modified: branches/pcc_rewiring/src/gc/register.c
==============================================================================
--- branches/pcc_rewiring/src/gc/register.c	Wed Apr  8 01:36:04 2009	(r37972)
+++ branches/pcc_rewiring/src/gc/register.c	Wed Apr  8 02:38:51 2009	(r37973)
@@ -312,6 +312,8 @@
     ctx->gc_mark           = 0;
     ctx->current_results   = NULL;
     ctx->results_signature = NULL;
+    ctx->current_sig       = NULL;
+    ctx->caller_sig        = NULL;
     ctx->lex_pad           = PMCNULL;
     ctx->outer_ctx         = NULL;
     ctx->current_cont      = NULL;
@@ -609,6 +611,8 @@
          * tries to use it later. */
         ctx->current_results   = (opcode_t *)0xbeefcafe;
         ctx->results_signature = (PMC *)0xbeefcafe;
+        ctx->current_sig       = (PMC *)0xbeefcafe;
+        ctx->caller_sig        = (PMC *)0xbeefcafe;
         ctx->lex_pad           = (PMC *)0xbeefcafe;
         ctx->outer_ctx         = (Parrot_Context *)0xbeefcafe;
         ctx->current_cont      = (PMC *)0xbeefcafe;


More information about the parrot-commits mailing list