summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.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
commitbcc3fadad9712c9cabb51cfa0cb357077b689876 (patch)
treeb32caf17e8571c647e90350e61722641077a4906 /llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
parent4ce4a61cac24da062d6ac75db33052d51424e2e5 (diff)
downloadbcm5719-llvm-bcc3fadad9712c9cabb51cfa0cb357077b689876.tar.gz
bcm5719-llvm-bcc3fadad9712c9cabb51cfa0cb357077b689876.zip
These do not need to be conditional on the presence of CommentStream, as they have a fallback path now.
llvm-svn: 140267
Diffstat (limited to 'llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
index ac5eb77ead4..b6a08354a21 100644
--- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud