projects
/
satune.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
towards cloning
[satune.git]
/
src
/
AST
/
predicate.h
diff --git
a/src/AST/predicate.h
b/src/AST/predicate.h
index 46bc5af83ff9b9e91449037d7f4ea6ca49851f71..c86c6c2a0c26b26e32a2693dbf3cd27c5864ed47 100644
(file)
--- a/
src/AST/predicate.h
+++ b/
src/AST/predicate.h
@@
-11,6
+11,7
@@
class Predicate {
public:
Predicate(PredicateType _type) : type(_type) {}
virtual ~Predicate() {}
public:
Predicate(PredicateType _type) : type(_type) {}
virtual ~Predicate() {}
+ virtual Predicate * clone(CloneMap *map);
PredicateType type;
MEMALLOC;
};
PredicateType type;
MEMALLOC;
};
@@
-19,6
+20,7
@@
class PredicateOperator : public Predicate {
public:
PredicateOperator(CompOp op, Set **domain, uint numDomain);
bool evalPredicateOperator(uint64_t *inputs);
public:
PredicateOperator(CompOp op, Set **domain, uint numDomain);
bool evalPredicateOperator(uint64_t *inputs);
+ Predicate * clone(CloneMap *map);
CompOp op;
Array<Set *> domains;
MEMALLOC;
CompOp op;
Array<Set *> domains;
MEMALLOC;
@@
-27,6
+29,7
@@
public:
class PredicateTable : public Predicate {
public:
PredicateTable(Table *table, UndefinedBehavior undefBehavior);
class PredicateTable : public Predicate {
public:
PredicateTable(Table *table, UndefinedBehavior undefBehavior);
+ Predicate * clone(CloneMap *map);
Table *table;
UndefinedBehavior undefinedbehavior;
MEMALLOC;
Table *table;
UndefinedBehavior undefinedbehavior;
MEMALLOC;