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

cotto at svn.parrot.org cotto at svn.parrot.org
Wed Dec 9 07:17:08 UTC 2009


Author: cotto
Date: Wed Dec  9 07:17:08 2009
New Revision: 42958
URL: https://trac.parrot.org/parrot/changeset/42958

Log:
[pmc] restore a sanity check that got dropped by r42933, JimmyZ++ for noticing

Modified:
   trunk/src/pmc/capture.pmc

Modified: trunk/src/pmc/capture.pmc
==============================================================================
--- trunk/src/pmc/capture.pmc	Wed Dec  9 07:12:31 2009	(r42957)
+++ trunk/src/pmc/capture.pmc	Wed Dec  9 07:17:08 2009	(r42958)
@@ -818,6 +818,9 @@
     VTABLE void mark() {
         PMC *array, *hash;
 
+        if (!PMC_data(SELF))
+            return;
+
         GET_ATTR_array(INTERP, SELF, array);
         GET_ATTR_hash(INTERP, SELF, hash);
 


More information about the parrot-commits mailing list