[svn:parrot] r38259 - trunk/src

cotto at svn.parrot.org cotto at svn.parrot.org
Tue Apr 21 22:22:20 UTC 2009


Author: cotto
Date: Tue Apr 21 22:22:19 2009
New Revision: 38259
URL: https://trac.parrot.org/parrot/changeset/38259

Log:
[PMC] shuffle statements around so comments still make sense (no functional changes)

Modified:
   trunk/src/pmc.c

Modified: trunk/src/pmc.c
==============================================================================
--- trunk/src/pmc.c	Tue Apr 21 22:17:29 2009	(r38258)
+++ trunk/src/pmc.c	Tue Apr 21 22:22:19 2009	(r38259)
@@ -185,13 +185,13 @@
                 "Parrot VM: Can't modify a constant\n");
     }
 
-    /* Do we have an extension area? */
-    has_ext = (PObj_is_PMC_EXT_TEST(pmc) && pmc->pmc_ext);
-
     /* Does the old PMC need any resources freed? */
     if (PObj_active_destroy_TEST(pmc))
         VTABLE_destroy(interp, pmc);
 
+    /* Do we have an extension area? */
+    has_ext = (PObj_is_PMC_EXT_TEST(pmc) && pmc->pmc_ext);
+
     /* Do we need one? */
     if (new_vtable->flags & VTABLE_PMC_NEEDS_EXT) {
         /* If we need an ext area, go allocate one */


More information about the parrot-commits mailing list