summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Nios2/Nios2TargetMachine.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-09-20 20:32:23 +0000
committerEric Christopher <echristo@gmail.com>2017-09-20 20:32:23 +0000
commitadc4bc64ad3f172a31863162245e159fa553877a (patch)
tree2cc99f2e1882f6e5fc8bb4f06996982853ecb8f3 /llvm/lib/Target/Nios2/Nios2TargetMachine.h
parent08fe808b3de7d217a58f79c52368836fd41ae3c6 (diff)
downloadbcm5719-llvm-adc4bc64ad3f172a31863162245e159fa553877a.tar.gz
bcm5719-llvm-adc4bc64ad3f172a31863162245e159fa553877a.zip
Remove the default subtarget from the new Nios2 port. It's unused and deprecated.
llvm-svn: 313808
Diffstat (limited to 'llvm/lib/Target/Nios2/Nios2TargetMachine.h')
-rw-r--r--llvm/lib/Target/Nios2/Nios2TargetMachine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Nios2/Nios2TargetMachine.h b/llvm/lib/Target/Nios2/Nios2TargetMachine.h
index 2cf8a10c57e..503187778c1 100644
--- a/llvm/lib/Target/Nios2/Nios2TargetMachine.h
+++ b/llvm/lib/Target/Nios2/Nios2TargetMachine.h
@@ -19,8 +19,6 @@
namespace llvm {
class Nios2TargetMachine : public LLVMTargetMachine {
- Nios2Subtarget DefaultSubtarget;
-
mutable StringMap<std::unique_ptr<Nios2Subtarget>> SubtargetMap;
public:
@@ -30,8 +28,6 @@ public:
CodeGenOpt::Level OL, bool JIT);
~Nios2TargetMachine() override;
- const Nios2Subtarget *getSubtargetImpl() const { return &DefaultSubtarget; }
-
const Nios2Subtarget *getSubtargetImpl(const Function &F) const override;
// Pass Pipeline Configuration
OpenPOWER on IntegriCloud