local commit... bug that prunes too many executions
[cdsspec-compiler.git] / cyclegraph.h
index 42866a3b370ceb52ab85967c1cfe0c80f4aedf6f..1cc0d069531e6499aed90a3972bfd1ff533c3c8f 100644 (file)
@@ -11,6 +11,7 @@
 #include "config.h"
 #include "mymemory.h"
 
+class Promise;
 class CycleNode;
 class ModelAction;
 
@@ -23,7 +24,7 @@ class CycleGraph {
        bool checkForCycles();
        bool checkForRMWViolation();
        void addRMWEdge(const ModelAction *from, const ModelAction *rmw);
-
+       bool checkPromise(const ModelAction *from, Promise *p);
        bool checkReachable(const ModelAction *from, const ModelAction *to);
        void startChanges();
        void commitChanges();