diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-29 23:09:20 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-29 23:09:20 +0000 |
commit | cd3c7cb9159bf80e6847c6d3c182ee4ae5e02281 (patch) | |
tree | a0dc4cc611a75a21169db5d29086fdbf0dbd836d /lib/Target/ARM/ARMConstantPoolValue.h | |
parent | 424a04ec4e291fb25782eb412d57e3a36f880c6e (diff) | |
download | llvm-cd3c7cb9159bf80e6847c6d3c182ee4ae5e02281.tar.gz llvm-cd3c7cb9159bf80e6847c6d3c182ee4ae5e02281.tar.bz2 llvm-cd3c7cb9159bf80e6847c6d3c182ee4ae5e02281.tar.xz |
Nuke a FIXME. No need to be fancier here, as ARM handles constant pools
locations and formatting specially. rdar://7353441
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMConstantPoolValue.h')
-rw-r--r-- | lib/Target/ARM/ARMConstantPoolValue.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h index 688f38bf99..d008811c40 100644 --- a/lib/Target/ARM/ARMConstantPoolValue.h +++ b/lib/Target/ARM/ARMConstantPoolValue.h @@ -96,11 +96,7 @@ public: bool isBlockAddress() { return Kind == ARMCP::CPBlockAddress; } bool isLSDA() { return Kind == ARMCP::CPLSDA; } - virtual unsigned getRelocationInfo() const { - // FIXME: This is conservatively claiming that these entries require a - // relocation, we may be able to do better than this. - return 2; - } + virtual unsigned getRelocationInfo() const { return 2; } virtual int getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment); |