restructrue code of funcnode.cc, and planning for adding back edges in predicate...
[c11tester.git] / classlist.h
index d3d9d3d2c0f2389ae7214f9a0527585c06deb2a5..855f05fde23af696305e9cf28f271aa03c533b00 100644 (file)
@@ -2,6 +2,7 @@
 #define CLASSLIST_H
 #include <inttypes.h>
 #include "stl-model.h"
+#include "hashset.h"
 
 class ClockVector;
 class CycleGraph;
@@ -16,12 +17,15 @@ class TraceAnalysis;
 class Fuzzer;
 class FuncNode;
 class FuncInst;
+class Predicate;
 
 struct model_snapshot_members;
 struct bug_message;
 typedef SnapList<ModelAction *> action_list_t;
 typedef SnapList<uint32_t> func_id_list_t;
 typedef SnapList<FuncInst *> func_inst_list_t;
+typedef HSIterator<Predicate *, uintptr_t, 0, model_malloc, model_calloc, model_free> PredSetIter;
+typedef HashSet<Predicate *, uintptr_t, 0, model_malloc, model_calloc, model_free> PredSet;
 
-extern volatile int forklock;
+extern volatile int modellock;
 #endif