[svn:parrot] r40375 - branches/keys_cleanup/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Sun Aug 2 11:26:18 UTC 2009


Author: bacek
Date: Sun Aug  2 11:26:16 2009
New Revision: 40375
URL: https://trac.parrot.org/parrot/changeset/40375

Log:
[pmc][cage] Remove AddrRegistery.get_pmc_keyed. It's unused and broken.

Modified:
   branches/keys_cleanup/src/pmc/addrregistry.pmc

Modified: branches/keys_cleanup/src/pmc/addrregistry.pmc
==============================================================================
--- branches/keys_cleanup/src/pmc/addrregistry.pmc	Sun Aug  2 05:50:57 2009	(r40374)
+++ branches/keys_cleanup/src/pmc/addrregistry.pmc	Sun Aug  2 11:26:16 2009	(r40375)
@@ -144,24 +144,6 @@
         }
     }
 
-/*
-
-=item C<PMC *get_pmc_keyed(PMC *key)>
-
-If called from iteration, return the key PMC, else PMCNULL is returned.
-
-=cut
-
-*/
-
-    VTABLE PMC *get_pmc_keyed(PMC *key) {
-        Hash * const hash = (Hash *)SELF.get_pointer();
-
-        if (KEY_IS_HASH_ITERATOR(key))
-            return (PMC *)parrot_hash_get_idx(INTERP, hash, key);
-
-        return PMCNULL;
-    }
 }
 
 /*


More information about the parrot-commits mailing list