aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.cpp
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/MBlaze/InstPrinter/MBlazeInstPrinter.cpp
parent4d77ae61f179819a3e5021790755ab4d640a00f5 (diff)
downloadexternal_llvm-519020adf1cf57e2e93cc4fd49c385c47f7ff0f7.zip
external_llvm-519020adf1cf57e2e93cc4fd49c385c47f7ff0f7.tar.gz
external_llvm-519020adf1cf57e2e93cc4fd49c385c47f7ff0f7.tar.bz2
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/MBlaze/InstPrinter/MBlazeInstPrinter.cpp')
-rw-r--r--lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.cpp b/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.cpp
index f470be3..a1f1dbc 100644
--- a/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.cpp
+++ b/lib/Target/MBlaze/InstPrinter/MBlazeInstPrinter.cpp
@@ -28,7 +28,7 @@ using namespace llvm;
void MBlazeInstPrinter::printInst(const MCInst *MI, raw_ostream &O,
StringRef Annot) {
printInstruction(MI, O);
- if (CommentStream) printAnnotation(O, Annot);
+ printAnnotation(O, Annot);
}
void MBlazeInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,