diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-11-10 01:08:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-11-10 01:08:07 +0000 |
commit | 8af22c446b6eefa8dddd2412c7d779feb4c7bf0a (patch) | |
tree | cf7ecb5e996d39b61ad273edb0a6055c6a22c3dd /lib/Target/ARM/ARMCodeEmitter.cpp | |
parent | d1854af7e5d95da2f2e1de1fb2c5b67adce7ea05 (diff) | |
download | external_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.cpp | 2 |
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 |