Skip to content

Commit

Permalink
Write barrier proper Sub PMC.
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Feb 3, 2011
1 parent 3b12abc commit 079f6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sub.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ Parrot_sub_capture_lex(PARROT_INTERP, ARGMOD(PMC *sub_pmc))
return;

/* set the sub's outer context to the current context */
Parrot_gc_write_barrier(interp, Parrot_pcc_get_sub(interp, ctx));
Parrot_gc_write_barrier(interp, sub_pmc);
sub->outer_ctx = ctx;
}

Expand Down

0 comments on commit 079f6e6

Please sign in to comment.