Remove a redundant call to hasRawTextSupport.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 31 Jan 2014 23:14:01 +0000 (23:14 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 31 Jan 2014 23:14:01 +0000 (23:14 +0000)
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

lib/CodeGen/AsmPrinter/AsmPrinter.cpp

index c5726633d2a4fd03e978a57f7737cb69a26226d8..e7410d6efa4c38619a7b662541e9b87d7cf235c1 100644 (file)
@@ -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);
     }