Nuke a FIXME. No need to be fancier here, as ARM handles constant pools
authorJim Grosbach <grosbach@apple.com>
Mon, 29 Nov 2010 23:09:20 +0000 (23:09 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 29 Nov 2010 23:09:20 +0000 (23:09 +0000)
locations and formatting specially. rdar://7353441

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120343 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMConstantPoolValue.h

index 688f38bf99e3e9df186333e410802e778a4d7b0a..d008811c40e4e11ed65cba04327689b81ae32b86 100644 (file)
@@ -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);