Remove dead code.
authorBill Wendling <isanbard@gmail.com>
Sat, 1 Oct 2011 09:05:12 +0000 (09:05 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 1 Oct 2011 09:05:12 +0000 (09:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140941 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMConstantPoolValue.cpp
lib/Target/ARM/ARMConstantPoolValue.h

index 4d90e7e8f206512ba91c27b58baa6dc22c47c5a2..9224c039bd897b40e6041b063bf41c59b598cb36 100644 (file)
@@ -253,15 +253,6 @@ ARMConstantPoolSymbol::Create(LLVMContext &C, const char *s,
   return new ARMConstantPoolSymbol(C, s, ID, PCAdj, ARMCP::no_modifier, false);
 }
 
-ARMConstantPoolSymbol *
-ARMConstantPoolSymbol::Create(LLVMContext &C, const char *s,
-                              unsigned ID, unsigned char PCAdj,
-                              ARMCP::ARMCPModifier Modifier,
-                              bool AddCurrentAddress) {
-  return new ARMConstantPoolSymbol(C, s, ID, PCAdj, Modifier,
-                                   AddCurrentAddress);
-}
-
 static bool CPV_streq(const char *S1, const char *S2) {
   if (S1 == S2)
     return true;
index 718ec1828b8507bace4c15700ba1c754bbd69464..4548d256710fa205de1c546d6c9c9a70dcd4be8c 100644 (file)
@@ -178,11 +178,6 @@ public:
   static ARMConstantPoolSymbol *Create(LLVMContext &C, const char *s,
                                        unsigned ID, unsigned char PCAdj);
 
-  static ARMConstantPoolSymbol *Create(LLVMContext &C, const char *s,
-                                       unsigned ID, unsigned char PCAdj,
-                                       ARMCP::ARMCPModifier Modifier,
-                                       bool AddCurrentAddress);
-
   const char *getSymbol() const { return S; }
 
   virtual int getExistingMachineCPValue(MachineConstantPool *CP,