Skip to content

Commit

Permalink
Atomic load is a fetch, so no override
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jul 9, 2018
1 parent d3c5381 commit b213fbe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/vm/moar/ops/container.c
Expand Up @@ -16,7 +16,6 @@ typedef struct {
MVMObject *store;
MVMObject *store_unchecked;
MVMObject *cas;
MVMObject *atomic_load;
MVMObject *atomic_store;
} RakudoContData;

Expand Down Expand Up @@ -229,7 +228,6 @@ static void rakudo_scalar_gc_mark_data(MVMThreadContext *tc, MVMSTable *st, MVMG
MVM_gc_worklist_add(tc, worklist, &data->store);
MVM_gc_worklist_add(tc, worklist, &data->store_unchecked);
MVM_gc_worklist_add(tc, worklist, &data->cas);
MVM_gc_worklist_add(tc, worklist, &data->atomic_load);
MVM_gc_worklist_add(tc, worklist, &data->atomic_store);
}

Expand All @@ -242,7 +240,6 @@ static void rakudo_scalar_serialize(MVMThreadContext *tc, MVMSTable *st, MVMSeri
MVM_serialization_write_ref(tc, writer, data->store);
MVM_serialization_write_ref(tc, writer, data->store_unchecked);
MVM_serialization_write_ref(tc, writer, data->cas);
MVM_serialization_write_ref(tc, writer, data->atomic_load);
MVM_serialization_write_ref(tc, writer, data->atomic_store);
}

Expand All @@ -251,7 +248,6 @@ static void rakudo_scalar_deserialize(MVMThreadContext *tc, MVMSTable *st, MVMSe
MVM_ASSIGN_REF(tc, &(st->header), data->store, MVM_serialization_read_ref(tc, reader));
MVM_ASSIGN_REF(tc, &(st->header), data->store_unchecked, MVM_serialization_read_ref(tc, reader));
MVM_ASSIGN_REF(tc, &(st->header), data->cas, MVM_serialization_read_ref(tc, reader));
MVM_ASSIGN_REF(tc, &(st->header), data->atomic_load, MVM_serialization_read_ref(tc, reader));
MVM_ASSIGN_REF(tc, &(st->header), data->atomic_store, MVM_serialization_read_ref(tc, reader));
}

Expand Down

0 comments on commit b213fbe

Please sign in to comment.