[llvm-commits] [llvm] r140941 - in /llvm/trunk/lib/Target/ARM: ARMConstantPoolValue.cpp ARMConstantPoolValue.h

Bill Wendling isanbard at gmail.com
Sat Oct 1 02:05:12 PDT 2011


Author: void
Date: Sat Oct  1 04:05:12 2011
New Revision: 140941

URL: http://llvm.org/viewvc/llvm-project?rev=140941&view=rev
Log:
Remove dead code.

Modified:
    llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp
    llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h

Modified: llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp?rev=140941&r1=140940&r2=140941&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.cpp Sat Oct  1 04:05:12 2011
@@ -253,15 +253,6 @@
   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;

Modified: llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h?rev=140941&r1=140940&r2=140941&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMConstantPoolValue.h Sat Oct  1 04:05:12 2011
@@ -178,11 +178,6 @@
   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,





More information about the llvm-commits mailing list