change the way to detect loops
[c11tester.git] / action.cc
index b9df297ebaf18197d5c9adc2922fcbb4c3d83835..473d99f72899f4c0866719b5629767b4053e0c38 100644 (file)
--- a/action.cc
+++ b/action.cc
@@ -184,7 +184,6 @@ 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);
 }
 
 
@@ -624,7 +623,6 @@ void ModelAction::set_read_from(ModelAction *act)
        ASSERT(act);
 
        reads_from = act;
-
        if (act->is_uninitialized()) {  // WL
                uint64_t val = *((uint64_t *) location);
                ModelAction * act_uninitialized = (ModelAction *)act;