Make MCRegisterInfo available to the the MCInstPrinter.
[oota-llvm.git] / lib / Target / MBlaze / InstPrinter / MBlazeInstPrinter.h
index c6f30036bc87a9921bf982ea57b16388c7dcf32a..236583a0a752eb46aa3736018c9a2b3b73e7dd5e 100644 (file)
@@ -21,8 +21,8 @@ namespace llvm {
 
   class MBlazeInstPrinter : public MCInstPrinter {
   public:
-    MBlazeInstPrinter(const MCAsmInfo &MAI)
-      : MCInstPrinter(MAI) {}
+    MBlazeInstPrinter(const MCAsmInfo &MAI, const MCRegisterInfo &MRI)
+      : MCInstPrinter(MAI, MRI) {}
 
     virtual void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot);