aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/MSP430
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/MSP430
parent4d77ae61f179819a3e5021790755ab4d640a00f5 (diff)
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/MSP430')
-rw-r--r--lib/Target/MSP430/InstPrinter/MSP430InstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.cpp b/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.cpp
index 10a8f9ac70..5d6c6ad93d 100644
--- a/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.cpp
+++ b/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.cpp
@@ -28,7 +28,7 @@ using namespace llvm;
void MSP430InstPrinter::printInst(const MCInst *MI, raw_ostream &O,
StringRef Annot) {
printInstruction(MI, O);
- if (CommentStream) printAnnotation(O, Annot);
+ printAnnotation(O, Annot);
}
void MSP430InstPrinter::printPCRelImmOperand(const MCInst *MI, unsigned OpNo,