Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add write barriers in a couple of places they are potentially needed.
  • Loading branch information
jnthn committed Oct 23, 2011
1 parent 81ce668 commit ecc293a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/binder/container.c
Expand Up @@ -162,5 +162,6 @@ PMC * Rakudo_create_container_descriptor(PARROT_INTERP, PMC *type, PMC *of, INTV
desc->of = of;
desc->rw = rw;
desc->name = name;
PARROT_GC_WRITE_BARRIER(interp, result);
return result;
}
1 change: 1 addition & 0 deletions src/ops/perl6.ops
Expand Up @@ -452,6 +452,7 @@ inline op perl6_box_str(out PMC, in STR) :base_core {
PMC *type = Rakudo_types_str_get();
$1 = REPR(type)->instance_of(interp, type);
REPR($1)->set_str(interp, $1, $2);
PARROT_GC_WRITE_BARRIER(interp, $1);
}


Expand Down

0 comments on commit ecc293a

Please sign in to comment.