X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=cmodelint.cc;h=1632581101e0c5801f8ba14c05d3d12e1fa4c94c;hb=2d0d4ac38e05905a6633b3f2d5112ccadd45c27f;hp=47aef05f28a1c61e72101e171e59da02354c5f09;hpb=e7c0c2dc248559b307122db7923df35f7c6d957e;p=model-checker.git diff --git a/cmodelint.cc b/cmodelint.cc index 47aef05..1632581 100644 --- a/cmodelint.cc +++ b/cmodelint.cc @@ -39,5 +39,5 @@ void model_rmwc_action(void *obj, memory_order ord) { /** Issues a fence operation. */ void model_fence_action(memory_order ord) { - model->switch_to_master(new ModelAction(ATOMIC_FENCE, ord, NULL)); + model->switch_to_master(new ModelAction(ATOMIC_FENCE, ord, FENCE_LOCATION)); }