[svn:parrot] r44459 - branches/boehm_gc_2/src/pmc
bacek at svn.parrot.org
bacek at svn.parrot.org
Wed Feb 24 20:21:26 UTC 2010
Author: bacek
Date: Wed Feb 24 20:21:26 2010
New Revision: 44459
URL: https://trac.parrot.org/parrot/changeset/44459
Log:
Reorder ATTRs in CallContext to enable typed allocations in Boehm GC.
Modified:
branches/boehm_gc_2/src/pmc/callcontext.pmc
Modified: branches/boehm_gc_2/src/pmc/callcontext.pmc
==============================================================================
--- branches/boehm_gc_2/src/pmc/callcontext.pmc Wed Feb 24 20:21:06 2010 (r44458)
+++ branches/boehm_gc_2/src/pmc/callcontext.pmc Wed Feb 24 20:21:26 2010 (r44459)
@@ -410,18 +410,6 @@
/* deref the constants - we need it all the time */
ATTR struct PackFile_Constant **constants;
- ATTR INTVAL current_HLL; /* see also src/hll.c */
-
- ATTR UINTVAL warns; /* Keeps track of what warnings
- * have been activated */
- ATTR UINTVAL errors; /* fatals that can be turned off */
- ATTR UINTVAL trace_flags;
- ATTR UINTVAL recursion_depth; /* Sub call recursion depth */
-
- /* code->prederefed.code - code->base.data in opcodes
- * to simplify conversion between code ptrs in e.g. invoke */
- ATTR size_t pred_offset;
-
/* Storage for arguments */
ATTR struct Pcc_cell *positionals; /* linked list of positionals */
ATTR PMC *type_tuple; /* Cached argument types for MDD */
@@ -435,6 +423,19 @@
ATTR void **returns_values; /* stored pointers */
ATTR INTVAL returns_size; /* number of stored elements */
ATTR INTVAL returns_resize_threshold; /* max size before resizing array */
+
+ /* code->prederefed.code - code->base.data in opcodes
+ * to simplify conversion between code ptrs in e.g. invoke */
+ ATTR size_t pred_offset;
+
+ ATTR INTVAL current_HLL; /* see also src/hll.c */
+
+ ATTR UINTVAL warns; /* Keeps track of what warnings
+ * have been activated */
+ ATTR UINTVAL errors; /* fatals that can be turned off */
+ ATTR UINTVAL trace_flags;
+ ATTR UINTVAL recursion_depth; /* Sub call recursion depth */
+
/*
=item C<void init()>
More information about the parrot-commits
mailing list