diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-16 07:26:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-16 07:26:36 +0000 |
commit | 52bfe24e2c12a62111fff066ca64ef241d2b2c10 (patch) | |
tree | 2f804f0e88a5883b29903de94fc9a88fce6f6a70 /llvm/lib | |
parent | 5ce83039509fa2329b84ebec0b957e5fb7d8f222 (diff) | |
download | bcm5719-llvm-52bfe24e2c12a62111fff066ca64ef241d2b2c10.tar.gz bcm5719-llvm-52bfe24e2c12a62111fff066ca64ef241d2b2c10.zip |
mark all the generated node predicates 'const'.
llvm-svn: 96337
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp index eaefef9c8b4..d6b17c24a4b 100644 --- a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp +++ b/llvm/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) { |