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 | 9f0356b3cc88e98b2dfe64154e3165dd3c7106e9 (patch) | |
| tree | 120ca9f7875cd7708525abdae0dca07cb5e31c17 | |
| parent | 2907f44a1bf393ad638b7b21de5e78b64a94b336 (diff) | |
| download | bcm5719-llvm-9f0356b3cc88e98b2dfe64154e3165dd3c7106e9.tar.gz bcm5719-llvm-9f0356b3cc88e98b2dfe64154e3165dd3c7106e9.zip | |
Nuke a FIXME. No need to be fancier here, as ARM handles constant pools
locations and formatting specially. rdar://7353441
llvm-svn: 120343
| -rw-r--r-- | llvm/lib/Target/ARM/ARMConstantPoolValue.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantPoolValue.h b/llvm/lib/Target/ARM/ARMConstantPoolValue.h index 688f38bf99e..d008811c40e 100644 --- a/llvm/lib/Target/ARM/ARMConstantPoolValue.h +++ b/llvm/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); |

