aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-12-09 01:10:37 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-12-09 01:10:37 +0000
commit7ced2e0b304e76ab746c7d9a54ad8d4930445a38 (patch)
treea161e3399d6f2ca46ddcadca9ae17114da5dd6a6 /include
parentf2dc5c785dea1816cbc064b58b4b6ea23c4fd7d4 (diff)
downloadexternal_llvm-7ced2e0b304e76ab746c7d9a54ad8d4930445a38.zip
external_llvm-7ced2e0b304e76ab746c7d9a54ad8d4930445a38.tar.gz
external_llvm-7ced2e0b304e76ab746c7d9a54ad8d4930445a38.tar.bz2
Add const qualifier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index 0f8c597..fdd3466 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -892,7 +892,7 @@ public:
/// InferPtrAlignment - Infer alignment of a load / store address. Return 0 if
/// it cannot be inferred.
- unsigned InferPtrAlignment(SDValue Ptr);
+ unsigned InferPtrAlignment(SDValue Ptr) const;
private:
bool RemoveNodeFromCSEMaps(SDNode *N);