aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMCodeEmitter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-10 01:08:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-10 01:08:07 +0000
commit8af22c446b6eefa8dddd2412c7d779feb4c7bf0a (patch)
treecf7ecb5e996d39b61ad273edb0a6055c6a22c3dd /lib/Target/ARM/ARMCodeEmitter.cpp
parentd1854af7e5d95da2f2e1de1fb2c5b67adce7ea05 (diff)
downloadexternal_llvm-8af22c446b6eefa8dddd2412c7d779feb4c7bf0a.zip
external_llvm-8af22c446b6eefa8dddd2412c7d779feb4c7bf0a.tar.gz
external_llvm-8af22c446b6eefa8dddd2412c7d779feb4c7bf0a.tar.bz2
Rename isGVNonLazyPtr to isIndirectSym to reflect how it will be used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMCodeEmitter.cpp')
-rw-r--r--lib/Target/ARM/ARMCodeEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp
index 92d8713..ddd2564 100644
--- a/lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/lib/Target/ARM/ARMCodeEmitter.cpp
@@ -337,7 +337,7 @@ void ARMCodeEmitter::emitConstPoolInstruction(const MachineInstr &MI) {
if (GV) {
assert(!ACPV->isStub() && "Don't know how to deal this yet!");
if (ACPV->isNonLazyPointer())
- MCE.addRelocation(MachineRelocation::getGVNonLazyPtr(
+ MCE.addRelocation(MachineRelocation::getIndirectSymbol(
MCE.getCurrentPCOffset(), ARM::reloc_arm_machine_cp_entry, GV,
(intptr_t)ACPV, false));
else