summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-15 16:58:17 +0000
committerDan Gohman <gohman@apple.com>2009-01-15 16:58:17 +0000
commit91febd133067b8a592c6910b64587d743faa660a (patch)
treef94951e51759cf4e4398209e0480534341c662d2 /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
parent6be2939d5dbaac1167b720bab865fed18543d753 (diff)
downloadbcm5719-llvm-91febd133067b8a592c6910b64587d743faa660a.tar.gz
bcm5719-llvm-91febd133067b8a592c6910b64587d743faa660a.zip
More consts on TargetLowering references.
llvm-svn: 62262
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 26a02babd2c..258d807f701 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -736,7 +736,7 @@ SDValue ExpandUnalignedStore(StoreSDNode *ST, SelectionDAG &DAG,
/// ExpandUnalignedLoad - Expands an unaligned load to 2 half-size loads.
static
SDValue ExpandUnalignedLoad(LoadSDNode *LD, SelectionDAG &DAG,
- TargetLowering &TLI) {
+ const TargetLowering &TLI) {
int SVOffset = LD->getSrcValueOffset();
SDValue Chain = LD->getChain();
SDValue Ptr = LD->getBasePtr();
OpenPOWER on IntegriCloud