summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-04-15 03:11:28 +0000
committerAnders Carlsson <andersca@mac.com>2010-04-15 03:11:28 +0000
commit47bccf7f289b3e991702fee0e63e9704bc2f2abf (patch)
treea46735583687fc12a23b6a049ed4bb09573a66b6 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parentbcaf681cdef13dcf4a863288c3329be96f96bd14 (diff)
downloadbcm5719-llvm-47bccf7f289b3e991702fee0e63e9704bc2f2abf.tar.gz
bcm5719-llvm-47bccf7f289b3e991702fee0e63e9704bc2f2abf.zip
Fix build.
llvm-svn: 101335
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index c3e85f5d2f0..08e8010a43e 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -1041,7 +1041,7 @@ ARMTargetLowering::LowerCall(SDValue Chain, SDValue Callee,
// those, the target's already in a register, so we don't need to do
// anything extra.
if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(Callee)) {
- GlobalValue *GV = G->getGlobal();
+ const GlobalValue *GV = G->getGlobal();
// Create a constant pool entry for the callee address
unsigned ARMPCLabelIndex = AFI->createConstPoolEntryUId();
ARMConstantPoolValue *CPV = new ARMConstantPoolValue(GV,
OpenPOWER on IntegriCloud