From: Jim Grosbach Date: Mon, 29 Nov 2010 23:09:20 +0000 (+0000) Subject: Nuke a FIXME. No need to be fancier here, as ARM handles constant pools X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cd3c7cb9159bf80e6847c6d3c182ee4ae5e02281;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h index 688f38bf99e..d008811c40e 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);