promise: rename has_sync_thread() -> thread_is_eliminated()
[model-checker.git] / model.cc
index 0964ae7ed2be03721cca662598200382151b2230..ac88933357cc3d6be512b0b61509846cbd50e4aa 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -2459,7 +2459,7 @@ void ModelChecker::mo_check_promises(thread_id_t tid, const ModelAction *write,
                }
 
                //Don't do any lookups twice for the same thread
-               if (promise->has_sync_thread(tid))
+               if (promise->thread_is_eliminated(tid))
                        continue;
 
                if (promise->get_write() && mo_graph->checkReachable(promise->get_write(), write)) {