summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/InstPrinter
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-09-21 17:58:45 +0000
committerOwen Anderson <resistor@mac.com>2011-09-21 17:58:45 +0000
commit519020adf1cf57e2e93cc4fd49c385c47f7ff0f7 (patch)
tree1a95cafe419caed38ed9d05d88504b0ee1a3235c /lib/Target/Mips/InstPrinter
parent4d77ae61f179819a3e5021790755ab4d640a00f5 (diff)
downloadllvm-519020adf1cf57e2e93cc4fd49c385c47f7ff0f7.tar.gz
llvm-519020adf1cf57e2e93cc4fd49c385c47f7ff0f7.tar.bz2
llvm-519020adf1cf57e2e93cc4fd49c385c47f7ff0f7.tar.xz
These do not need to be conditional on the presence of CommentStream, as they have a fallback path now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/InstPrinter')
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp b/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
index e26fb1474c..3dafc61344 100644
--- a/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
+++ b/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,