summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-31 23:14:01 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-31 23:14:01 +0000
commit6f4efee6cba6091b9a44c54495dbffc392fe5223 (patch)
treeb39755d863c25b1400aea0c0838e702fdbf55a75 /lib
parentac9f143a696f5d17bb97aee2230de67c002105b2 (diff)
downloadllvm-6f4efee6cba6091b9a44c54495dbffc392fe5223.tar.gz
llvm-6f4efee6cba6091b9a44c54495dbffc392fe5223.tar.bz2
llvm-6f4efee6cba6091b9a44c54495dbffc392fe5223.tar.xz
Remove a redundant call to hasRawTextSupport.
The code path it was guarding was already using emitRawComment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index c5726633d2..e7410d6efa 100644
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -2170,7 +2170,7 @@ void AsmPrinter::EmitBasicBlockStart(const MachineBasicBlock *MBB) const {
// Print the main label for the block.
if (MBB->pred_empty() || isBlockOnlyReachableByFallthrough(MBB)) {
- if (isVerbose() && OutStreamer.hasRawTextSupport()) {
+ if (isVerbose()) {
// NOTE: Want this comment at start of line, don't emit with AddComment.
OutStreamer.emitRawComment(" BB#" + Twine(MBB->getNumber()) + ":", false);
}