mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-15 08:58:51 +00:00
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
This commit is contained in:
parent
ac9f143a69
commit
6f4efee6cb
@ -2170,7 +2170,7 @@ void AsmPrinter::EmitBasicBlockStart(const MachineBasicBlock *MBB) const {
|
|||||||
|
|
||||||
// Print the main label for the block.
|
// Print the main label for the block.
|
||||||
if (MBB->pred_empty() || isBlockOnlyReachableByFallthrough(MBB)) {
|
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.
|
// NOTE: Want this comment at start of line, don't emit with AddComment.
|
||||||
OutStreamer.emitRawComment(" BB#" + Twine(MBB->getNumber()) + ":", false);
|
OutStreamer.emitRawComment(" BB#" + Twine(MBB->getNumber()) + ":", false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user