[svn:parrot] r40778 - in branches/context_pmc3: include/parrot src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Tue Aug 25 10:36:22 UTC 2009
Author: bacek
Date: Tue Aug 25 10:36:21 2009
New Revision: 40778
URL: https://trac.parrot.org/parrot/changeset/40778
Log:
[core] Remove unused Context.regs_mem_size 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:35:55 2009 (r40777)
+++ branches/context_pmc3/include/parrot/context.h Tue Aug 25 10:36:21 2009 (r40778)
@@ -47,7 +47,6 @@
struct PackFile_Constant **constants;
INTVAL current_HLL; /* see also src/hll.c */
- size_t regs_mem_size; /* memory occupied by registers */
int gc_mark; /* marked in gc run */
UINTVAL warns; /* Keeps track of what warnings
Modified: branches/context_pmc3/src/gc/alloc_register.c
==============================================================================
--- branches/context_pmc3/src/gc/alloc_register.c Tue Aug 25 10:35:55 2009 (r40777)
+++ branches/context_pmc3/src/gc/alloc_register.c Tue Aug 25 10:36:21 2009 (r40778)
@@ -399,8 +399,6 @@
ctx->n_regs_used[REGNO_STR] = number_regs_used[REGNO_STR];
ctx->n_regs_used[REGNO_PMC] = number_regs_used[REGNO_PMC];
- ctx->regs_mem_size = reg_alloc;
-
/* regs start past the context */
p = (void *) ((char *)ctx + ALIGNED_CTX_SIZE);
More information about the parrot-commits
mailing list