Skip to content

Commit

Permalink
Add write barrier to LexPad PMC when it poke into CallContext registers.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Feb 16, 2011
1 parent 04ae1b1 commit 0dd4207
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pmc/lexpad.pmc
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Return the LexInfo PMC, if any or a Null PMC.

GET_ATTR_ctx(INTERP, SELF, ctx);
CTX_REG_PMC(INTERP, ctx, (INTVAL)b->value) = value;
PARROT_GC_WRITE_BARRIER(INTERP, ctx);
}

VTABLE void set_pmc_keyed(PMC *name, PMC *value) {
Expand Down

0 comments on commit 0dd4207

Please sign in to comment.