summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/MSP430.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-05-03 13:19:42 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-05-03 13:19:42 +0000
commit60871cb40ce2df662e8361b1215f5a9431d54dd7 (patch)
treea4b03b7b5b2c61ddf58f5004f273c21742656a54 /lib/Target/MSP430/MSP430.h
parent7594884648f0627f724686a20089bffdcde3635d (diff)
downloadllvm-60871cb40ce2df662e8361b1215f5a9431d54dd7.tar.gz
llvm-60871cb40ce2df662e8361b1215f5a9431d54dd7.tar.bz2
llvm-60871cb40ce2df662e8361b1215f5a9431d54dd7.tar.xz
Update due to mainline API change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430.h')
-rw-r--r--lib/Target/MSP430/MSP430.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/Target/MSP430/MSP430.h b/lib/Target/MSP430/MSP430.h
index 3fa024caed..ed0cd0496a 100644
--- a/lib/Target/MSP430/MSP430.h
+++ b/lib/Target/MSP430/MSP430.h
@@ -15,15 +15,19 @@
#ifndef LLVM_TARGET_MSP430_H
#define LLVM_TARGET_MSP430_H
+#include "llvm/Target/TargetMachine.h"
+
namespace llvm {
class MSP430TargetMachine;
class FunctionPass;
class raw_ostream;
- FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM);
- FunctionPass *createMSP430CodePrinterPass(raw_ostream &OS,
- MSP430TargetMachine &TM,
- bool Fast, bool Verbose);
+ FunctionPass *createMSP430ISelDag(MSP430TargetMachine &TM,
+ CodeGenOpt::Level OptLevel);
+ FunctionPass *createMSP430CodePrinterPass(raw_ostream &o,
+ MSP430TargetMachine &tm,
+ CodeGenOpt::Level OptLevel,
+ bool verbose);
} // end namespace llvm;
// Defines symbolic names for MSP430 registers.