summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-15 23:17:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-15 23:17:20 +0000
commit15c3e71e6f7507aec4a1cec3876bb218bc63cd00 (patch)
tree762461ba776edbe52c4af847c6e3728e6e0b8feb /llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
parente3c21e6540df0170e080d675eea2fce84f0a7a0a (diff)
downloadbcm5719-llvm-15c3e71e6f7507aec4a1cec3876bb218bc63cd00.tar.gz
bcm5719-llvm-15c3e71e6f7507aec4a1cec3876bb218bc63cd00.zip
Register AsmPrinter for XCore, MSP430, and PIC16 targets.
- Switch to standard addAssemblyEmitter logic. llvm-svn: 75854
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp b/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
index 68cfe4072b0..2ff5eecbfd7 100644
--- a/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
+++ b/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
@@ -40,7 +40,7 @@ STATISTIC(EmittedInsts, "Number of machine instrs printed");
namespace {
class VISIBILITY_HIDDEN MSP430AsmPrinter : public AsmPrinter {
public:
- MSP430AsmPrinter(formatted_raw_ostream &O, MSP430TargetMachine &TM,
+ MSP430AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
const TargetAsmInfo *TAI, bool V)
: AsmPrinter(O, TM, TAI, V) {}
@@ -76,7 +76,7 @@ namespace {
/// regardless of whether the function is in SSA form.
///
FunctionPass *llvm::createMSP430CodePrinterPass(formatted_raw_ostream &o,
- MSP430TargetMachine &tm,
+ TargetMachine &tm,
bool verbose) {
return new MSP430AsmPrinter(o, tm, tm.getTargetAsmInfo(), verbose);
}
OpenPOWER on IntegriCloud