diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-07-06 19:45:42 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-06 19:45:42 +0000 |
| commit | ab37af9af3954d253894893ed897690ef6509b8a (patch) | |
| tree | 4ac6f85f45285c6922fe7c97411882bade889067 /llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h | |
| parent | e58f332b8c20c257859b6b236fef23f7e2af2813 (diff) | |
| download | bcm5719-llvm-ab37af9af3954d253894893ed897690ef6509b8a.tar.gz bcm5719-llvm-ab37af9af3954d253894893ed897690ef6509b8a.zip | |
createMCInstPrinter doesn't need TargetMachine anymore.
llvm-svn: 134525
Diffstat (limited to 'llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h')
| -rw-r--r-- | llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h b/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h index 63860dcc7e3..50d98b7c41f 100644 --- a/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h +++ b/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h @@ -18,11 +18,10 @@ namespace llvm { class MCOperand; - class TargetMachine; class MSP430InstPrinter : public MCInstPrinter { public: - MSP430InstPrinter(TargetMachine &TM, const MCAsmInfo &MAI) + MSP430InstPrinter(const MCAsmInfo &MAI) : MCInstPrinter(MAI) {} virtual void printInst(const MCInst *MI, raw_ostream &O); |

