mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-27 21:40:34 +02:00
Update barrier functions to also have the object being written
Also remove read barriers, as they were unused, and we have no plans to use them.
This commit is contained in:
parent
7f405c929e
commit
13b3bb5b24
5 changed files with 11 additions and 20 deletions
2
quads.c
2
quads.c
|
@ -49,7 +49,7 @@ static Quad* make_tree(struct mutator *mut, int depth) {
|
|||
|
||||
Quad *result = allocate_quad(mut);
|
||||
for (size_t i = 0; i < 4; i++)
|
||||
init_field((void**)&result->kids[i], HANDLE_REF(kids[i]));
|
||||
init_field(result, (void**)&result->kids[i], HANDLE_REF(kids[i]));
|
||||
|
||||
for (size_t i = 0; i < 4; i++)
|
||||
POP_HANDLE(mut);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue