[svn:parrot] r40080 - trunk/src
bacek at svn.parrot.org
bacek at svn.parrot.org
Tue Jul 14 14:20:34 UTC 2009
Author: bacek
Date: Tue Jul 14 14:20:33 2009
New Revision: 40080
URL: https://trac.parrot.org/parrot/changeset/40080
Log:
[cage] Clear constant flag during thawing PMC from PBC.
Modified:
trunk/src/pmc_freeze.c
Modified: trunk/src/pmc_freeze.c
==============================================================================
--- trunk/src/pmc_freeze.c Tue Jul 14 14:20:14 2009 (r40079)
+++ trunk/src/pmc_freeze.c Tue Jul 14 14:20:33 2009 (r40080)
@@ -1661,6 +1661,11 @@
PARROT_ASSERT(current->vtable);
+ /* Workaround for thawing constants. Clear constant flag */
+ /* See src/packfile.c:3999 */
+ if (thawing)
+ PObj_constant_CLEAR(current);
+
VTABLE_visit(interp, current, info);
if (thawing) {
More information about the parrot-commits
mailing list