aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCInstPrinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCInstPrinter.h')
-rw-r--r--include/llvm/MC/MCInstPrinter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/MC/MCInstPrinter.h b/include/llvm/MC/MCInstPrinter.h
index 1c04564..d62a9da 100644
--- a/include/llvm/MC/MCInstPrinter.h
+++ b/include/llvm/MC/MCInstPrinter.h
@@ -13,13 +13,17 @@
namespace llvm {
class MCInst;
class raw_ostream;
+class MCAsmInfo;
+
/// MCInstPrinter - This is an instance of a target assembly language printer
/// that converts an MCInst to valid target assembly syntax.
class MCInstPrinter {
+protected:
raw_ostream &O;
+ const MCAsmInfo &MAI;
public:
- MCInstPrinter(raw_ostream &o) : O(o) {}
+ MCInstPrinter(raw_ostream &o, const MCAsmInfo &mai) : O(o), MAI(mai) {}
virtual ~MCInstPrinter();