Change initialize a bit
[c11tester.git] / concretepredicate.h
index 6319a2ee23abbd29b97dcfd0938f00256fb501ff..1440763aad539c70af3f48371a0e82f5593663cf 100644 (file)
@@ -9,11 +9,13 @@
 class ConcretePredicate {
 public:
        ConcretePredicate(thread_id_t tid);
 class ConcretePredicate {
 public:
        ConcretePredicate(thread_id_t tid);
-       ~ConcretePredicate();
+       ~ConcretePredicate() {}
 
        void add_expression(token_t token, uint64_t value, bool equality);
        SnapVector<struct concrete_pred_expr> * getExpressions() { return &expressions; }
 
        void add_expression(token_t token, uint64_t value, bool equality);
        SnapVector<struct concrete_pred_expr> * getExpressions() { return &expressions; }
+       void set_location(void * loc) { location = loc; }
        void * get_location() { return location; }
        void * get_location() { return location; }
+       thread_id_t get_tid() { return tid; }
 
        SNAPSHOTALLOC
 private:
 
        SNAPSHOTALLOC
 private:
@@ -22,4 +24,4 @@ private:
        SnapVector<struct concrete_pred_expr> expressions;
 };
 
        SnapVector<struct concrete_pred_expr> expressions;
 };
 
-#endif /* __CONCRETE_PREDICATE_H */
+#endif /* __CONCRETE_PREDICATE_H */