From 544038fd119389fdceda9d46b654aff4ce32ed40 Mon Sep 17 00:00:00 2001 From: pmichaud Date: Thu, 9 Jul 2009 18:38:46 -0500 Subject: [PATCH] Remove obsolete (and unmarked) reference to cached_type. bacek++ --- src/pmc/objectref_pmc.template | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pmc/objectref_pmc.template b/src/pmc/objectref_pmc.template index cc0d8381bc2..2677f174f91 100644 --- a/src/pmc/objectref_pmc.template +++ b/src/pmc/objectref_pmc.template @@ -20,7 +20,6 @@ Forwards all but some methods to the held PMC. pmclass ObjectRef need_ext dynpmc group perl6_group { ATTR PMC *value; - ATTR PMC *cached_type; VTABLE void init() { PMC * const hll_ns = Parrot_get_ctx_HLL_namespace(INTERP); @@ -30,15 +29,12 @@ pmclass ObjectRef need_ext dynpmc group perl6_group { } VTABLE void init_pmc(PMC *value) { - PMC *type_obj = PMCNULL; - /* Need custom mark and destroy. */ PObj_custom_mark_SET(SELF); PObj_active_destroy_SET(SELF); /* Create underlying structure. */ PMC_data(SELF) = mem_allocate_zeroed_typed(Parrot_ObjectRef_attributes); - SET_ATTR_cached_type(INTERP, SELF, type_obj); /* Initialize with an undef PMC if no value. */ if (PMC_IS_NULL(value))