summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430TargetMachine.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-04 02:56:59 +0000
committerAndrew Trick <atrick@apple.com>2012-02-04 02:56:59 +0000
commit061efcfb3e79899493d857f49e50d09f29037e0a (patch)
tree2c7286ae42f7acfe928e0faff78562df968a237d /lib/Target/MSP430/MSP430TargetMachine.cpp
parentd5422654016b3ac7494db1d2ba16bd8febadb0a8 (diff)
downloadllvm-061efcfb3e79899493d857f49e50d09f29037e0a.tar.gz
llvm-061efcfb3e79899493d857f49e50d09f29037e0a.tar.bz2
llvm-061efcfb3e79899493d857f49e50d09f29037e0a.tar.xz
TargetPassConfig: confine the MC configuration to TargetMachine.
Passes prior to instructon selection are now split into separate configurable stages. Header dependencies are simplified. The bulk of this diff is simply removal of the silly DisableVerify flags. Sorry for the target header churn. Attempting to stabilize them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430TargetMachine.cpp')
-rw-r--r--lib/Target/MSP430/MSP430TargetMachine.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/Target/MSP430/MSP430TargetMachine.cpp b/lib/Target/MSP430/MSP430TargetMachine.cpp
index a2e97f11e5..af62e4813a 100644
--- a/lib/Target/MSP430/MSP430TargetMachine.cpp
+++ b/lib/Target/MSP430/MSP430TargetMachine.cpp
@@ -42,9 +42,8 @@ namespace {
/// MSP430 Code Generator Pass Configuration Options.
class MSP430PassConfig : public TargetPassConfig {
public:
- MSP430PassConfig(MSP430TargetMachine *TM, PassManagerBase &PM,
- bool DisableVerifyFlag)
- : TargetPassConfig(TM, PM, DisableVerifyFlag) {}
+ MSP430PassConfig(MSP430TargetMachine *TM, PassManagerBase &PM)
+ : TargetPassConfig(TM, PM) {}
MSP430TargetMachine &getMSP430TargetMachine() const {
return getTM<MSP430TargetMachine>();
@@ -55,9 +54,8 @@ public:
};
} // namespace
-TargetPassConfig *MSP430TargetMachine::createPassConfig(PassManagerBase &PM,
- bool DisableVerify) {
- return new MSP430PassConfig(this, PM, DisableVerify);
+TargetPassConfig *MSP430TargetMachine::createPassConfig(PassManagerBase &PM) {
+ return new MSP430PassConfig(this, PM);
}
bool MSP430PassConfig::addInstSelector() {