From 14a1a6b018c87bcf75cf5b430623d573fbed8905 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 1 Oct 2011 09:05:12 +0000 Subject: [PATCH] Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140941 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMConstantPoolValue.cpp | 9 --------- lib/Target/ARM/ARMConstantPoolValue.h | 5 ----- 2 files changed, 14 deletions(-) diff --git a/lib/Target/ARM/ARMConstantPoolValue.cpp b/lib/Target/ARM/ARMConstantPoolValue.cpp index 4d90e7e8f20..9224c039bd8 100644 --- a/lib/Target/ARM/ARMConstantPoolValue.cpp +++ b/lib/Target/ARM/ARMConstantPoolValue.cpp @@ -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; diff --git a/lib/Target/ARM/ARMConstantPoolValue.h b/lib/Target/ARM/ARMConstantPoolValue.h index 718ec1828b8..4548d256710 100644 --- a/lib/Target/ARM/ARMConstantPoolValue.h +++ b/lib/Target/ARM/ARMConstantPoolValue.h @@ -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,