Skip to content

Commit

Permalink
[cage] Clear constant flag during thawing PMC from PBC.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@40080 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
bacek committed Jul 14, 2009
1 parent 7c6761a commit 929b7cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pmc_freeze.c
Expand Up @@ -1661,6 +1661,11 @@ visit_loop_todo_list(PARROT_INTERP, ARGIN_NULLOK(PMC *current),

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) {
Expand Down

0 comments on commit 929b7cb

Please sign in to comment.