X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=cyclegraph.h;h=1cc0d069531e6499aed90a3972bfd1ff533c3c8f;hb=7dddcdb767f02f9b0c470ac516b18ad91a35d43d;hp=42866a3b370ceb52ab85967c1cfe0c80f4aedf6f;hpb=eb3b6cccf71b9eeee035e2c98566dfa279e402ae;p=model-checker.git diff --git a/cyclegraph.h b/cyclegraph.h index 42866a3..1cc0d06 100644 --- a/cyclegraph.h +++ b/cyclegraph.h @@ -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();