summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/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/PowerPC/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/PowerPC/InstPrinter')
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp8
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);
}