diff options
| author | Craig Topper <craig.topper@gmail.com> | 2012-04-02 06:09:36 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2012-04-02 06:09:36 +0000 |
| commit | 54bfde79db0c7f01d9f65a7b4113595f8db8f73a (patch) | |
| tree | c25d56d8cd8520f24a1ee363f187f6f16208c9bf /llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h | |
| parent | 3a0bcf06ef76b76793cb96eff214fe981e48cfb8 (diff) | |
| download | bcm5719-llvm-54bfde79db0c7f01d9f65a7b4113595f8db8f73a.tar.gz bcm5719-llvm-54bfde79db0c7f01d9f65a7b4113595f8db8f73a.zip | |
Make MCInstrInfo available to the MCInstPrinter. This will be used to remove getInstructionName and the static data it contains since the same tables are already in MCInstrInfo.
llvm-svn: 153860
Diffstat (limited to 'llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h')
| -rw-r--r-- | llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h b/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h index 3fd7ce0164f..d32eb3a21a3 100644 --- a/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h +++ b/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h @@ -21,8 +21,9 @@ namespace llvm { class MSP430InstPrinter : public MCInstPrinter { public: - MSP430InstPrinter(const MCAsmInfo &MAI, const MCRegisterInfo &MRI) - : MCInstPrinter(MAI, MRI) {} + MSP430InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, + const MCRegisterInfo &MRI) + : MCInstPrinter(MAI, MII, MRI) {} virtual void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot); |

