summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-05-27 10:19:03 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-05-27 10:19:03 +0000
commit4ec6e9d50c05e80730c5b25da4849d7bc723dbac (patch)
treecfc08919881140d122ee597e26731b93f411a736 /llvm/lib/Target/Sparc/DelaySlotFiller.cpp
parent922efd7a67ad89ab32bac91f21d80c845b3c04f0 (diff)
downloadbcm5719-llvm-4ec6e9d50c05e80730c5b25da4849d7bc723dbac.tar.gz
bcm5719-llvm-4ec6e9d50c05e80730c5b25da4849d7bc723dbac.zip
[sparc] Remove some unused (and undefined) declarations.
No functionality change. llvm-svn: 270981
Diffstat (limited to 'llvm/lib/Target/Sparc/DelaySlotFiller.cpp')
-rw-r--r--llvm/lib/Target/Sparc/DelaySlotFiller.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
index 442e7263e39..70acb506b67 100644
--- a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
+++ b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp
@@ -38,14 +38,10 @@ static cl::opt<bool> DisableDelaySlotFiller(
namespace {
struct Filler : public MachineFunctionPass {
- /// Target machine description which we query for reg. names, data
- /// layout, etc.
- ///
- TargetMachine &TM;
const SparcSubtarget *Subtarget;
static char ID;
- Filler(TargetMachine &tm) : MachineFunctionPass(ID), TM(tm) {}
+ Filler() : MachineFunctionPass(ID) {}
const char *getPassName() const override {
return "SPARC Delay Slot Filler";
@@ -103,7 +99,7 @@ namespace {
/// slots in Sparc MachineFunctions
///
FunctionPass *llvm::createSparcDelaySlotFillerPass(TargetMachine &tm) {
- return new Filler(tm);
+ return new Filler;
}
OpenPOWER on IntegriCloud