Revert r153694. It was causing failures in the buildbots.
[oota-llvm.git] / include / llvm / MC / MCInstPrinter.h
index 01ad2d3f8088247d2f6f3653513073057fd5f8eb..4d2adfa475c55492bcc40e195e681d34e82e47ec 100644 (file)
@@ -14,6 +14,7 @@ namespace llvm {
 class MCInst;
 class raw_ostream;
 class MCAsmInfo;
+class MCRegisterInfo;
 class StringRef;
 
 /// MCInstPrinter - This is an instance of a target assembly language printer
@@ -25,6 +26,7 @@ protected:
   /// assembly emission is disable.
   raw_ostream *CommentStream;
   const MCAsmInfo &MAI;
+  const MCRegisterInfo &MRI;
 
   /// The current set of available features.
   unsigned AvailableFeatures;
@@ -32,8 +34,8 @@ protected:
   /// Utility function for printing annotations.
   void printAnnotation(raw_ostream &OS, StringRef Annot);
 public:
-  MCInstPrinter(const MCAsmInfo &mai)
-    : CommentStream(0), MAI(mai), AvailableFeatures(0) {}
+  MCInstPrinter(const MCAsmInfo &mai, const MCRegisterInfo &mri)
+    : CommentStream(0), MAI(mai), MRI(mri), AvailableFeatures(0) {}
 
   virtual ~MCInstPrinter();