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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon Mar 29 14:40:16 UTC 2010


Author: NotFound
Date: Mon Mar 29 14:40:16 2010
New Revision: 45275
URL: https://trac.parrot.org/parrot/changeset/45275

Log:
Fix typo that broke C++ build

Modified:
   trunk/src/pmc/class.pmc

Modified: trunk/src/pmc/class.pmc
==============================================================================
--- trunk/src/pmc/class.pmc	Mon Mar 29 13:16:28 2010	(r45274)
+++ trunk/src/pmc/class.pmc	Mon Mar 29 14:40:16 2010	(r45275)
@@ -2008,14 +2008,14 @@
     }
 
     METHOD clear_method_cache() {
-        Parrot_Class_attributes * const attrs = PARROT_OBJECT(SELF);
+        Parrot_Class_attributes * const attrs = PARROT_CLASS(SELF);
         PMC * const cache = attrs->meth_cache;
         if (cache)
             attrs->meth_cache = PMCNULL;
     }
 
     METHOD get_method_cache() {
-        Parrot_Class_attributes * const attrs = PARROT_OBJECT(SELF);
+        Parrot_Class_attributes * const attrs = PARROT_CLASS(SELF);
         PMC * cache = attrs->meth_cache;
         if (!cache) {
             cache = Parrot_pmc_new(INTERP, enum_class_Hash);


More information about the parrot-commits mailing list