change a ton of code to not implicitly use the "O" raw_ostream
[oota-llvm.git] / utils / TableGen / AsmWriterEmitter.cpp
index ab1e239a95f25ea14146a3e8463985e836440c71..1e95467a3b2cf8eb90983ed0f233de82420b2b8a 100644 (file)
@@ -248,7 +248,7 @@ void AsmWriterEmitter::EmitPrintInstruction(raw_ostream &O) {
   "/// printInstruction - This method is automatically generated by tablegen\n"
   "/// from the instruction set description.\n"
     "void " << Target.getName() << ClassName
-            << "::printInstruction(const MachineInstr *MI) {\n";
+            << "::printInstruction(const MachineInstr *MI, raw_ostream &O) {\n";
 
   std::vector<AsmWriterInst> Instructions;