[svn:parrot] r42843 - trunk/src/pmc
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Wed Dec 2 00:43:43 UTC 2009
Author: chromatic
Date: Wed Dec 2 00:43:43 2009
New Revision: 42843
URL: https://trac.parrot.org/parrot/changeset/42843
Log:
[PMC] Explicitly set some Sub attributes to PMCNULL to avoid spurious marking.
Modified:
trunk/src/pmc/sub.pmc
Modified: trunk/src/pmc/sub.pmc
==============================================================================
--- trunk/src/pmc/sub.pmc Wed Dec 2 00:43:38 2009 (r42842)
+++ trunk/src/pmc/sub.pmc Wed Dec 2 00:43:43 2009 (r42843)
@@ -92,7 +92,10 @@
Parrot_Sub_attributes * const attrs =
(Parrot_Sub_attributes *) PMC_data(SELF);
- attrs->seg = INTERP->code;
+ attrs->seg = INTERP->code;
+ attrs->outer_sub = PMCNULL;
+ attrs->multi_signature = PMCNULL;
+ attrs->namespace_name = PMCNULL;
PObj_custom_mark_destroy_SETALL(SELF);
}
More information about the parrot-commits
mailing list