aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commitdbb6d1773175fd4945e1127745f66210021b7df3 (patch)
treee874bd89c8ed53b0e56d0ace67e07efac09ecbb2 /lib
parent36c56d0353f1a9c4e878f509aff85a62e5087dd4 (diff)
downloadexternal_llvm-dbb6d1773175fd4945e1127745f66210021b7df3.zip
external_llvm-dbb6d1773175fd4945e1127745f66210021b7df3.tar.gz
external_llvm-dbb6d1773175fd4945e1127745f66210021b7df3.tar.bz2
Fix build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index c3e85f5..08e8010 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/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,