restructure the codes that generate predicates
[c11tester.git] / funcnode.h
index 2a5781bb51da8823cf99b04a9a53bb5847663e45..cbc03c93f16444bc174c18b544cba16c8af3230e 100644 (file)
@@ -41,7 +41,8 @@ public:
        void update_predicate_tree(action_list_t * act_list);
        void deep_update(Predicate * pred);
        bool follow_branch(Predicate ** curr_pred, FuncInst * next_inst, ModelAction * next_act, HashTable<FuncInst *, ModelAction *, uintptr_t, 0>* inst_act_map, SnapVector<Predicate *> * unset_predicates);
-       void gen_predicate_and_follow(Predicate ** curr_pred, FuncInst * next_inst, ModelAction * next_act, HashTable<void *, ModelAction *, uintptr_t, 0> * loc_act_map, token_t token, void * loc);
+       void generate_predicate(Predicate ** curr_pred, FuncInst * next_inst, SnapVector<struct half_pred_expr *> * half_pred_expressions);
+
 
        void incr_exit_count() { exit_count++; }
        uint32_t get_exit_count() { return exit_count; }