Make MCRegisterInfo available to the the MCInstPrinter.
[oota-llvm.git] / lib / Target / Mips / InstPrinter / MipsInstPrinter.h
index 931c44bc5f5512ea200cc654d9a43e5de8dcc796..acd761d8c0f270d90c11d380acf06663409e1dd4 100644 (file)
@@ -77,7 +77,8 @@ class TargetMachine;
 
 class MipsInstPrinter : public MCInstPrinter {
 public:
-  MipsInstPrinter(const MCAsmInfo &MAI) : MCInstPrinter(MAI) {}
+  MipsInstPrinter(const MCAsmInfo &MAI, const MCRegisterInfo &MRI) :
+    MCInstPrinter(MAI, MRI) {}
 
   // Autogenerated by tblgen.
   void printInstruction(const MCInst *MI, raw_ostream &O);