[svn:parrot] r42953 - trunk/src/pmc

cotto at svn.parrot.org cotto at svn.parrot.org
Wed Dec 9 06:30:43 UTC 2009


Author: cotto
Date: Wed Dec  9 06:30:42 2009
New Revision: 42953
URL: https://trac.parrot.org/parrot/changeset/42953

Log:
[pmc] remove some unused code from AddrRegistry, courtesy of JimmyZ++

Modified:
   trunk/src/pmc/addrregistry.pmc

Modified: trunk/src/pmc/addrregistry.pmc
==============================================================================
--- trunk/src/pmc/addrregistry.pmc	Wed Dec  9 06:04:55 2009	(r42952)
+++ trunk/src/pmc/addrregistry.pmc	Wed Dec  9 06:30:42 2009	(r42953)
@@ -46,10 +46,7 @@
                 int_compare,
                 key_hash_int);
 
-        Parrot_AddrRegistry_attributes *attrs =
-            (Parrot_AddrRegistry_attributes *) PMC_data(SELF);
-
-        SELF.set_pointer(registry);
+        SET_ATTR_hash(INTERP, SELF, registry);
         PObj_custom_mark_destroy_SETALL(SELF);
 
     }


More information about the parrot-commits mailing list