diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-12-09 01:10:37 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-12-09 01:10:37 +0000 |
| commit | 1750009f38f9e2df7544deb0a60c8c5a238841f3 (patch) | |
| tree | a3e2a39d4d75ede21367fd1ff555c78e1612ff30 /llvm/lib | |
| parent | 34a23ea371c3be0e3f040d7d2497cd42f43b9b4a (diff) | |
| download | bcm5719-llvm-1750009f38f9e2df7544deb0a60c8c5a238841f3.tar.gz bcm5719-llvm-1750009f38f9e2df7544deb0a60c8c5a238841f3.zip | |
Add const qualifier.
llvm-svn: 90918
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 74651c149d5..851e6c040ea 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5870,7 +5870,7 @@ SDValue SelectionDAG::UnrollVectorOp(SDNode *N, unsigned ResNE) { /// InferPtrAlignment - Infer alignment of a load / store address. Return 0 if /// it cannot be inferred. -unsigned SelectionDAG::InferPtrAlignment(SDValue Ptr) { +unsigned SelectionDAG::InferPtrAlignment(SDValue Ptr) const { // If this is a direct reference to a stack slot, use information about the // stack slot's alignment. int FrameIdx = 1 << 31; |

