Skip to content

Commit

Permalink
Add missing write barrier to MVM_6model_get_how
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Sep 19, 2019
1 parent 55b6f73 commit 366a7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/6model/6model.c
Expand Up @@ -4,7 +4,7 @@
MVMObject * MVM_6model_get_how(MVMThreadContext *tc, MVMSTable *st) {
MVMObject *HOW = st->HOW;
if (!HOW && st->HOW_sc)
st->HOW = HOW = MVM_sc_get_object(tc, st->HOW_sc, st->HOW_idx);
MVM_ASSIGN_REF(tc, &(st->header), st->HOW, HOW = MVM_sc_get_object(tc, st->HOW_sc, st->HOW_idx));
return HOW ? HOW : tc->instance->VMNull;
}

Expand Down

0 comments on commit 366a7b7

Please sign in to comment.