[svn:parrot] r43260 - in branches/pmc_freeze_cleanup: include/parrot src

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun Dec 27 05:59:06 UTC 2009


Author: plobsing
Date: Sun Dec 27 05:59:05 2009
New Revision: 43260
URL: https://trac.parrot.org/parrot/changeset/43260

Log:
remove EXTRA_{IS_UNUSED,CLASS_EXISTS} which were unused

Modified:
   branches/pmc_freeze_cleanup/include/parrot/pmc_freeze.h
   branches/pmc_freeze_cleanup/src/pmc_freeze.c

Modified: branches/pmc_freeze_cleanup/include/parrot/pmc_freeze.h
==============================================================================
--- branches/pmc_freeze_cleanup/include/parrot/pmc_freeze.h	Sun Dec 27 05:40:43 2009	(r43259)
+++ branches/pmc_freeze_cleanup/include/parrot/pmc_freeze.h	Sun Dec 27 05:59:05 2009	(r43260)
@@ -47,9 +47,7 @@
 
 typedef enum {
     EXTRA_IS_NULL,
-    EXTRA_IS_UNUSED,
     EXTRA_IS_PROP_HASH,
-    EXTRA_CLASS_EXISTS
 } extra_flags_enum;
 
 typedef struct _visit_info {

Modified: branches/pmc_freeze_cleanup/src/pmc_freeze.c
==============================================================================
--- branches/pmc_freeze_cleanup/src/pmc_freeze.c	Sun Dec 27 05:40:43 2009	(r43259)
+++ branches/pmc_freeze_cleanup/src/pmc_freeze.c	Sun Dec 27 05:59:05 2009	(r43260)
@@ -870,12 +870,6 @@
 
     VTABLE_thaw(interp, pmc, info);
 
-    if (info->extra_flags == EXTRA_CLASS_EXISTS) {
-        pmc               = (PMC *)info->extra;
-        info->extra       = NULL;
-        info->extra_flags = 0;
-    }
-
     *info->thaw_ptr = pmc;
 
     Parrot_pmc_array_assign(interp, (List *)PMC_data(info->id_list), id, pmc, enum_type_PMC);


More information about the parrot-commits mailing list