X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=cyclegraph.h;h=1af54c77818bde954d784eb925cc56adc2013fd4;hb=3510b440b186949cbc0760d369da6787f0def7ac;hp=bb2ab2d87b4370065ff64fa9dfcac45e86f2ce39;hpb=dbee0c57f6edff31aafb79d6e956f1408bbb8fb8;p=model-checker.git diff --git a/cyclegraph.h b/cyclegraph.h index bb2ab2d..1af54c7 100644 --- a/cyclegraph.h +++ b/cyclegraph.h @@ -47,7 +47,7 @@ class CycleGraph { void dumpGraphToFile(const char *filename) const; #endif - bool resolvePromise(ModelAction *reader, ModelAction *writer, + bool resolvePromise(const Promise *promise, ModelAction *writer, promise_list_t *mustResolve); SNAPSHOTALLOC @@ -67,9 +67,8 @@ class CycleGraph { /** @brief A table for mapping ModelActions to CycleNodes */ HashTable actionToNode; - /** @brief A table for mapping reader ModelActions to Promise - * CycleNodes */ - HashTable readerToPromiseNode; + /** @brief A table for mapping Promises to CycleNodes */ + HashTable promiseToNode; #if SUPPORT_MOD_ORDER_DUMP std::vector nodeList;