[svn:parrot] r48484 - trunk/src/pmc
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Sat Aug 14 00:48:57 UTC 2010
Author: chromatic
Date: Sat Aug 14 00:48:56 2010
New Revision: 48484
URL: https://trac.parrot.org/parrot/changeset/48484
Log:
[PMC] Made Hash PMC's mark() skip empty hashes.
Modified:
trunk/src/pmc/hash.pmc
Modified: trunk/src/pmc/hash.pmc
==============================================================================
--- trunk/src/pmc/hash.pmc Sat Aug 14 00:48:53 2010 (r48483)
+++ trunk/src/pmc/hash.pmc Sat Aug 14 00:48:56 2010 (r48484)
@@ -110,7 +110,7 @@
VTABLE void mark() {
Hash * const hash = (Hash *)SELF.get_pointer();
- if (hash != NULL)
+ if (hash && hash->entries)
parrot_mark_hash(INTERP, hash);
}
More information about the parrot-commits
mailing list