summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-01 09:05:12 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-01 09:05:12 +0000
commit14a1a6b018c87bcf75cf5b430623d573fbed8905 (patch)
treee9bd39c91a8854d69807ada7244ef799be7f6795 /lib/Target
parent9aca75c4f8249abf8ba2e558bbd1ae7cdfc6b81f (diff)
downloadllvm-14a1a6b018c87bcf75cf5b430623d573fbed8905.tar.gz
llvm-14a1a6b018c87bcf75cf5b430623d573fbed8905.tar.bz2
llvm-14a1a6b018c87bcf75cf5b430623d573fbed8905.tar.xz
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.cpp9
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h5
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/Target/ARM/ARMConstantPoolValue.cpp b/lib/Target/ARM/ARMConstantPoolValue.cpp
index 4d90e7e8f2..9224c039bd 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 718ec1828b..4548d25671 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,