summaryrefslogtreecommitdiff
path: root/utils/TableGen/SetTheory.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-07-29 19:07:05 +0000
committerDavid Greene <greened@obbligato.org>2011-07-29 19:07:05 +0000
commitf37dd02f7743ebd2424480361f5a7db510495c4f (patch)
tree9c8f6bfe436ec32ede5b9c46eeb65c5024c4c783 /utils/TableGen/SetTheory.h
parent60c04af7879c3eda957162737783de726dd177b6 (diff)
downloadllvm-f37dd02f7743ebd2424480361f5a7db510495c4f.tar.gz
llvm-f37dd02f7743ebd2424480361f5a7db510495c4f.tar.bz2
llvm-f37dd02f7743ebd2424480361f5a7db510495c4f.tar.xz
[AVX] Constify Inits
Make references to Inits const everywhere. This is the final step before making them unique. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/SetTheory.h')
-rw-r--r--utils/TableGen/SetTheory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/SetTheory.h b/utils/TableGen/SetTheory.h
index 6e8313be07..f6123c7d91 100644
--- a/utils/TableGen/SetTheory.h
+++ b/utils/TableGen/SetTheory.h
@@ -70,7 +70,7 @@ public:
/// apply - Apply this operator to Expr's arguments and insert the result
/// in Elts.
- virtual void apply(SetTheory&, DagInit *Expr, RecSet &Elts) =0;
+ virtual void apply(SetTheory&, const DagInit *Expr, RecSet &Elts) =0;
};
/// Expander - A callback function that can transform a Record representing a
@@ -115,7 +115,7 @@ public:
void addOperator(StringRef Name, Operator*);
/// evaluate - Evaluate Expr and append the resulting set to Elts.
- void evaluate(Init *Expr, RecSet &Elts);
+ void evaluate(const Init *Expr, RecSet &Elts);
/// evaluate - Evaluate a sequence of Inits and append to Elts.
template<typename Iter>