[svn:parrot] r40779 - in branches/context_pmc3: include/parrot src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Aug 25 10:36:45 UTC 2009


Author: bacek
Date: Tue Aug 25 10:36:45 2009
New Revision: 40779
URL: https://trac.parrot.org/parrot/changeset/40779

Log:
[core] Remove unused Context.gc_mark field

Modified:
   branches/context_pmc3/include/parrot/context.h
   branches/context_pmc3/src/gc/alloc_register.c

Modified: branches/context_pmc3/include/parrot/context.h
==============================================================================
--- branches/context_pmc3/include/parrot/context.h	Tue Aug 25 10:36:21 2009	(r40778)
+++ branches/context_pmc3/include/parrot/context.h	Tue Aug 25 10:36:45 2009	(r40779)
@@ -47,7 +47,6 @@
     struct PackFile_Constant **constants;
 
     INTVAL                 current_HLL;     /* see also src/hll.c */
-    int                    gc_mark;         /* marked in gc run */
 
     UINTVAL                warns;           /* Keeps track of what warnings
                                              * have been activated */

Modified: branches/context_pmc3/src/gc/alloc_register.c
==============================================================================
--- branches/context_pmc3/src/gc/alloc_register.c	Tue Aug 25 10:36:21 2009	(r40778)
+++ branches/context_pmc3/src/gc/alloc_register.c	Tue Aug 25 10:36:45 2009	(r40779)
@@ -264,7 +264,6 @@
     Parrot_Context *ctx = Parrot_cx_get_context(interp, pmcctx);
     Parrot_Context *old = Parrot_cx_get_context(interp, pmcold);
 
-    ctx->gc_mark           = 0;
     ctx->current_results   = NULL;
     ctx->results_signature = NULL;
     ctx->lex_pad           = PMCNULL;


More information about the parrot-commits mailing list