X-Git-Url: http://plrg.eecs.uci.edu/git/?p=satune.git;a=blobdiff_plain;f=src%2FAST%2Fpredicate.h;fp=src%2FAST%2Fpredicate.h;h=c86c6c2a0c26b26e32a2693dbf3cd27c5864ed47;hp=46bc5af83ff9b9e91449037d7f4ea6ca49851f71;hb=919a30124bede022af832c5e33e42151f7c38533;hpb=7ab5516d0205e463969af92c1b200a316d4a08f0 diff --git a/src/AST/predicate.h b/src/AST/predicate.h index 46bc5af..c86c6c2 100644 --- a/src/AST/predicate.h +++ b/src/AST/predicate.h @@ -11,6 +11,7 @@ class Predicate { public: Predicate(PredicateType _type) : type(_type) {} virtual ~Predicate() {} + virtual Predicate * clone(CloneMap *map); PredicateType type; MEMALLOC; }; @@ -19,6 +20,7 @@ class PredicateOperator : public Predicate { public: PredicateOperator(CompOp op, Set **domain, uint numDomain); bool evalPredicateOperator(uint64_t *inputs); + Predicate * clone(CloneMap *map); CompOp op; Array domains; MEMALLOC; @@ -27,6 +29,7 @@ public: class PredicateTable : public Predicate { public: PredicateTable(Table *table, UndefinedBehavior undefBehavior); + Predicate * clone(CloneMap *map); Table *table; UndefinedBehavior undefinedbehavior; MEMALLOC;