Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a missing write barrier.
  • Loading branch information
jnthn committed Oct 23, 2011
1 parent bbe37f3 commit 7bc5fcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ops/nqp.ops
Expand Up @@ -784,6 +784,7 @@ inline op repr_box_str(out PMC, in STR, in PMC) :base_core {
if (type->vtable->base_type == smo_id) {
$1 = REPR(type)->instance_of(interp, type);
REPR($1)->set_str(interp, $1, $2);
PARROT_GC_WRITE_BARRIER(interp, $1);
}
else
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
Expand Down

0 comments on commit 7bc5fcd

Please sign in to comment.