typedef HSIterator<struct pred_expr *, uintptr_t, 0, model_malloc, model_calloc, model_free, pred_expr_hash, pred_expr_equal> PredExprSetIter;
typedef enum predicate_token {
- NOPREDICATE, UNSET, EQUALITY, NULLITY
+ NOPREDICATE, EQUALITY, NULLITY
} token_t;
/* If token is EQUALITY, then the predicate asserts whether
MEMALLOC
};
+/* Used by predicate generator */
+struct half_pred_expr {
+ half_pred_expr(token_t token, FuncInst * inst) :
+ token(token),
+ func_inst(inst)
+ {}
+
+ token_t token;
+ FuncInst * func_inst;
+
+ SNAPSHOTALLOC
+};
+
class Predicate {
public: