Add mailing list
[c11tester.git] / funcinst.h
index 6cb8c1a1510ac7df84ca76f6d2fce05a91297592..bc56e2772544869097979b42bee45e7f44b1b675 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef __FUNCINST_H__
+#define __FUNCINST_H__
+
 #include "action.h"
 #include "hashtable.h"
 
@@ -25,6 +28,9 @@ public:
        func_inst_list_mt * get_preds() { return &predecessors; }
        func_inst_list_mt * get_succs() { return &successors; }
 
+       bool is_read() const;
+       bool is_write() const;
+
        MEMALLOC
 private:
        //ModelAction * const action;
@@ -41,3 +47,6 @@ private:
        func_inst_list_mt predecessors;
        func_inst_list_mt successors;
 };
+
+#endif /* __FUNCINST_H__ */
+