[svn:parrot] r43028 - in trunk: include/parrot src src/pmc
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Sun Dec 13 18:57:15 UTC 2009
Author: plobsing
Date: Sun Dec 13 18:57:14 2009
New Revision: 43028
URL: https://trac.parrot.org/parrot/changeset/43028
Log:
remove container element from visit_info
this element was being set but never used.
Modified:
trunk/include/parrot/pmc_freeze.h
trunk/src/pmc/default.pmc
trunk/src/pmc/hash.pmc
trunk/src/pmc/orderedhash.pmc
trunk/src/pmc_freeze.c
Modified: trunk/include/parrot/pmc_freeze.h
==============================================================================
--- trunk/include/parrot/pmc_freeze.h Sat Dec 12 20:51:17 2009 (r43027)
+++ trunk/include/parrot/pmc_freeze.h Sun Dec 13 18:57:14 2009 (r43028)
@@ -64,7 +64,6 @@
STRING *image;
PMC *mark_ptr;
PMC **thaw_ptr; /* where to thaw a new PMC */
- PMC *container; /* when thawing aggregate items */
INTVAL last_type;
PMC *seen; /* seen hash */
PMC *todo; /* todo list */
Modified: trunk/src/pmc/default.pmc
==============================================================================
--- trunk/src/pmc/default.pmc Sat Dec 12 20:51:17 2009 (r43027)
+++ trunk/src/pmc/default.pmc Sun Dec 13 18:57:14 2009 (r43028)
@@ -1112,8 +1112,6 @@
/* default - initialize the PMC */
if (info->extra_flags == EXTRA_IS_PROP_HASH) {
info->thaw_ptr = &PMC_metadata(SELF);
- info->container = SELF;
-
(info->visit_pmc_now)(INTERP, PMC_metadata(SELF), info);
}
else
Modified: trunk/src/pmc/hash.pmc
==============================================================================
--- trunk/src/pmc/hash.pmc Sat Dec 12 20:51:17 2009 (r43027)
+++ trunk/src/pmc/hash.pmc Sun Dec 13 18:57:14 2009 (r43028)
@@ -1087,7 +1087,6 @@
*/
VTABLE void visit(visit_info *info) {
- info->container = SELF;
parrot_hash_visit(INTERP, (Hash *)SELF.get_pointer(), info);
SUPER(info);
}
Modified: trunk/src/pmc/orderedhash.pmc
==============================================================================
--- trunk/src/pmc/orderedhash.pmc Sat Dec 12 20:51:17 2009 (r43027)
+++ trunk/src/pmc/orderedhash.pmc Sun Dec 13 18:57:14 2009 (r43028)
@@ -627,8 +627,6 @@
*/
VTABLE void visit(visit_info *info) {
- info->container = SELF;
-
switch (info->what) {
case VISIT_THAW_NORMAL:
case VISIT_THAW_CONSTANTS:
Modified: trunk/src/pmc_freeze.c
==============================================================================
--- trunk/src/pmc_freeze.c Sat Dec 12 20:51:17 2009 (r43027)
+++ trunk/src/pmc_freeze.c Sun Dec 13 18:57:14 2009 (r43028)
@@ -559,7 +559,6 @@
info->id_list = pmc_new(interp, enum_class_Array);
info->id = 0;
info->extra_flags = EXTRA_IS_NULL;
- info->container = NULL;
}
More information about the parrot-commits
mailing list