Make MCRegisterInfo available to the the MCInstPrinter.
[oota-llvm.git] / lib / Target / X86 / InstPrinter / X86IntelInstPrinter.h
index 82839a28eee39256c2e1e46e027969e0bb44161a..ea1d38a1f40748560d9f909c0ee96509949d160a 100644 (file)
@@ -23,8 +23,8 @@ class MCOperand;
   
 class X86IntelInstPrinter : public MCInstPrinter {
 public:
-  X86IntelInstPrinter(const MCAsmInfo &MAI)
-    : MCInstPrinter(MAI) {}
+  X86IntelInstPrinter(const MCAsmInfo &MAI, const MCRegisterInfo &MRI)
+    : MCInstPrinter(MAI, MRI) {}
 
   virtual void printRegName(raw_ostream &OS, unsigned RegNo) const;
   virtual void printInst(const MCInst *MI, raw_ostream &OS, StringRef Annot);