aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Alpha
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-16 07:26:36 +0000
committerChris Lattner <sabre@nondot.org>2010-02-16 07:26:36 +0000
commitccba15f914b6e6cc101be9bac1fdeca3ccfbfdae (patch)
tree043ed175d5e4d8e484d79ee9ba49efb1a38ecacd /lib/Target/Alpha
parent050a03d0f31ee7033d0459dae3c95b8bf12bff89 (diff)
downloadexternal_llvm-ccba15f914b6e6cc101be9bac1fdeca3ccfbfdae.zip
external_llvm-ccba15f914b6e6cc101be9bac1fdeca3ccfbfdae.tar.gz
external_llvm-ccba15f914b6e6cc101be9bac1fdeca3ccfbfdae.tar.bz2
mark all the generated node predicates 'const'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha')
-rw-r--r--lib/Target/Alpha/AlphaISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
index eaefef9..d6b17c2 100644
--- a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
+++ b/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
@@ -64,7 +64,7 @@ namespace {
/// that the bits 1-7 of LHS are already zero. If LHS is non-null, we are
/// in checking mode. If LHS is null, we assume that the mask has already
/// been validated before.
- uint64_t get_zapImm(SDValue LHS, uint64_t Constant) {
+ uint64_t get_zapImm(SDValue LHS, uint64_t Constant) const {
uint64_t BitsToCheck = 0;
unsigned Result = 0;
for (unsigned i = 0; i != 8; ++i) {