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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Thu Jun 17 15:52:40 UTC 2010


Author: NotFound
Date: Thu Jun 17 15:52:39 2010
New Revision: 47673
URL: https://trac.parrot.org/parrot/changeset/47673

Log:
drop pointless check for PMC_data

Modified:
   trunk/src/pmc/string.pmc

Modified: trunk/src/pmc/string.pmc
==============================================================================
--- trunk/src/pmc/string.pmc	Thu Jun 17 15:23:20 2010	(r47672)
+++ trunk/src/pmc/string.pmc	Thu Jun 17 15:52:39 2010	(r47673)
@@ -56,10 +56,6 @@
 
     VTABLE void mark() {
         STRING *str_val;
-
-        if (!PMC_data(SELF))
-            return;
-
         GET_ATTR_str_val(INTERP, SELF, str_val);
         Parrot_gc_mark_STRING_alive(INTERP, str_val);
     }


More information about the parrot-commits mailing list