diff options
author | Owen Anderson <resistor@mac.com> | 2011-09-21 17:58:45 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2011-09-21 17:58:45 +0000 |
commit | 519020adf1cf57e2e93cc4fd49c385c47f7ff0f7 (patch) | |
tree | 1a95cafe419caed38ed9d05d88504b0ee1a3235c /lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | |
parent | 4d77ae61f179819a3e5021790755ab4d640a00f5 (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/PowerPC/InstPrinter/PPCInstPrinter.cpp')
-rw-r--r-- | lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index ac5eb77ead..b6a08354a2 100644 --- a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp +++ b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp @@ -52,7 +52,7 @@ void PPCInstPrinter::printInst(const MCInst *MI, raw_ostream &O, printOperand(MI, 1, O); O << ", " << (unsigned int)SH; - if (CommentStream) printAnnotation(O, Annot); + printAnnotation(O, Annot); return; } } @@ -63,7 +63,7 @@ void PPCInstPrinter::printInst(const MCInst *MI, raw_ostream &O, printOperand(MI, 0, O); O << ", "; printOperand(MI, 1, O); - if (CommentStream) printAnnotation(O, Annot); + printAnnotation(O, Annot); return; } @@ -77,13 +77,13 @@ void PPCInstPrinter::printInst(const MCInst *MI, raw_ostream &O, O << ", "; printOperand(MI, 1, O); O << ", " << (unsigned int)SH; - if (CommentStream) printAnnotation(O, Annot); + printAnnotation(O, Annot); return; } } printInstruction(MI, O); - if (CommentStream) printAnnotation(O, Annot); + printAnnotation(O, Annot); } |