[svn:parrot] r41859 - branches/pcc_optimize_sig/src/pmc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Wed Oct 14 21:59:41 UTC 2009


Author: chromatic
Date: Wed Oct 14 21:59:40 2009
New Revision: 41859
URL: https://trac.parrot.org/parrot/changeset/41859

Log:
[PMC] Fixed hash marking in CallSignature PMC, with credit to Tene for
diagnosing the error.  As penance, this marks keys with more speed now.

Modified:
   branches/pcc_optimize_sig/src/pmc/callsignature.pmc

Modified: branches/pcc_optimize_sig/src/pmc/callsignature.pmc
==============================================================================
--- branches/pcc_optimize_sig/src/pmc/callsignature.pmc	Wed Oct 14 21:24:39 2009	(r41858)
+++ branches/pcc_optimize_sig/src/pmc/callsignature.pmc	Wed Oct 14 21:59:40 2009	(r41859)
@@ -309,11 +309,10 @@
         HashBucket *b = h->bi[i];
 
         while (b) {
-            Parrot_gc_mark_PObj_alive(interp, (PObj *)b->key);
+            Parrot_gc_mark_STRING_alive(interp, (STRING *)b->key);
             mark_positionals(interp, (Pcc_cell *)b->value);
+            b = b->next;
         }
-
-        b = b->next;
     }
 }
 


More information about the parrot-commits mailing list