sleep_flag(false)
{
/* References to NULL atomic variables can end up here */
- ASSERT(loc || type == MODEL_FIXUP_RELSEQ);
+ ASSERT(loc || type == ATOMIC_FENCE || type == MODEL_FIXUP_RELSEQ);
Thread *t = thread ? thread : thread_current();
this->tid = t->get_id();