X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=funcnode.h;h=9e3bc69d5e2b184891e0fe5a7b5d36c59557e110;hb=fcc90758629b11f123081c80bb3c37e7ca2a4608;hp=0bcc73b58e2f59324e4d6aefd99d49816f6ff257;hpb=c80409d09fd1c97f798b5952a113c463b9b36805;p=c11tester.git diff --git a/funcnode.h b/funcnode.h index 0bcc73b5..9e3bc69d 100644 --- a/funcnode.h +++ b/funcnode.h @@ -2,12 +2,13 @@ #define __FUNCNODE_H__ #include "hashset.h" +#include "hashfunction.h" #include "classlist.h" #include "threads-model.h" #define MAX_DIST 10 -typedef ModelList func_inst_list_mt; +typedef ModelList func_inst_list_mt; typedef enum edge_type { IN_EDGE, OUT_EDGE, BI_EDGE } edge_type_t; @@ -24,6 +25,7 @@ public: void set_new_exec_flag(); void add_inst(ModelAction *act); + FuncInst * create_new_inst(ModelAction *act); FuncInst * get_inst(ModelAction *act); HashTable * getFuncInstMap() { return &func_inst_map; } @@ -101,7 +103,7 @@ private: loc_set_t * write_locations; /* Keeps track of locations that have the same values written to */ - HashTable * val_loc_map; + HashTable * val_loc_map; /* Keeps track of locations that may share the same value as key, deduced from val_loc_map */ HashTable * loc_may_equal_map; @@ -118,4 +120,4 @@ private: ModelList out_edges; }; -#endif /* __FUNCNODE_H__ */ +#endif /* __FUNCNODE_H__ */