From bcc3fadad9712c9cabb51cfa0cb357077b689876 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 21 Sep 2011 17:58:45 +0000 Subject: These do not need to be conditional on the presence of CommentStream, as they have a fallback path now. llvm-svn: 140267 --- llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp') diff --git a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp index e26fb1474cd..3dafc613448 100644 --- a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp +++ b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp @@ -72,7 +72,7 @@ void MipsInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { void MipsInstPrinter::printInst(const MCInst *MI, raw_ostream &O, StringRef Annot) { printInstruction(MI, O); - if (CommentStream) printAnnotation(O, Annot); + printAnnotation(O, Annot); } void MipsInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, -- cgit v1.2.3