X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=action.cc;h=df44af19953e334e47ba65d56a249e9cd47840a2;hb=aa653d6ec854b70b92b9cbb0fe452fbb0e300979;hp=af849074a199cc15d5e5d30e1e727a240cc81284;hpb=dfb47d6bc6aacb0ce93a6e497d8abd027c12ec50;p=c11tester.git diff --git a/action.cc b/action.cc index af849074..df44af19 100644 --- a/action.cc +++ b/action.cc @@ -45,7 +45,7 @@ ModelAction::ModelAction(action_type_t type, memory_order order, void *loc, seq_number(ACTION_INITIAL_CLOCK) { /* References to NULL atomic variables can end up here */ - ASSERT(loc || type == ATOMIC_FENCE); + ASSERT(loc || type == ATOMIC_FENCE || type == NOOP); Thread *t = thread ? thread : thread_current(); this->tid = t->get_id(); @@ -117,7 +117,7 @@ ModelAction::ModelAction(action_type_t type, const char * position, memory_order Thread *t = thread ? thread : thread_current(); this->tid = t->get_id(); - model_print("position: %s\n", position); + // model_print("position: %s\n", position); }