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

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sat May 16 13:46:58 UTC 2009


Author: whiteknight
Date: Sat May 16 13:46:58 2009
New Revision: 38827
URL: https://trac.parrot.org/parrot/changeset/38827

Log:
[PMC] undo some changes made in r38822 in unmanagedstruct.pmc. I don't know exactly why this change is causing failures, but I suspect there is something bad happening in inheritance between unmanagedstruct and managedstruct that needs to be explored and fixed

Modified:
   trunk/src/pmc/unmanagedstruct.pmc

Modified: trunk/src/pmc/unmanagedstruct.pmc
==============================================================================
--- trunk/src/pmc/unmanagedstruct.pmc	Sat May 16 13:18:56 2009	(r38826)
+++ trunk/src/pmc/unmanagedstruct.pmc	Sat May 16 13:46:58 2009	(r38827)
@@ -707,9 +707,7 @@
 */
 
     VTABLE void init_pmc(PMC *value) {
-        Parrot_UnManagedStruct_attributes *attrs =
-            mem_allocate_typed(Parrot_UnManagedStruct_attributes);
-        PMC_data(SELF) = attrs;
+        SELF.init();
         SELF.set_pmc(value);
     }
 


More information about the parrot-commits mailing list