[svn:parrot] r39727 - branches/tt761_keys_revamp/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Jun 22 23:21:31 UTC 2009


Author: bacek
Date: Mon Jun 22 23:21:31 2009
New Revision: 39727
URL: https://trac.parrot.org/parrot/changeset/39727

Log:
[pmc] Manually replace SUPER(key) with vtable call.

pmc2c isn't smart enought to handle auto-generated VTABLE methods...

Modified:
   branches/tt761_keys_revamp/src/pmc/orderedhash.pmc

Modified: branches/tt761_keys_revamp/src/pmc/orderedhash.pmc
==============================================================================
--- branches/tt761_keys_revamp/src/pmc/orderedhash.pmc	Mon Jun 22 23:21:10 2009	(r39726)
+++ branches/tt761_keys_revamp/src/pmc/orderedhash.pmc	Mon Jun 22 23:21:31 2009	(r39727)
@@ -119,7 +119,7 @@
             return VTABLE_get_pmc_keyed(INTERP, item, next);
         }
 
-        return SUPER(key);
+        return INTERP->vtables[enum_class_Hash]->get_pmc_keyed(INTERP, SELF, key);
     }
 
 /*
@@ -216,7 +216,7 @@
             return VTABLE_get_integer_keyed(INTERP, item, next);
         }
 
-        return SUPER(key);
+        return INTERP->vtables[enum_class_Hash]->get_integer_keyed(INTERP, SELF, key);
     }
 
 /*


More information about the parrot-commits mailing list