/// EmitBasicBlockStart - This method prints the label for the specified
/// MachineBasicBlock, an alignment (if present) and a comment describing
/// it if appropriate.
/// EmitBasicBlockStart - This method prints the label for the specified
/// MachineBasicBlock, an alignment (if present) and a comment describing
/// it if appropriate.
- void EmitBasicBlockStart(const MachineBasicBlock *MBB,
- bool printColon = true) const;
+ void EmitBasicBlockStart(const MachineBasicBlock *MBB) const;
protected:
/// EmitZeros - Emit a block of zeros.
///
protected:
/// EmitZeros - Emit a block of zeros.
///
/// EmitBasicBlockStart - This method prints the label for the specified
/// MachineBasicBlock, an alignment (if present) and a comment describing
/// it if appropriate.
/// EmitBasicBlockStart - This method prints the label for the specified
/// MachineBasicBlock, an alignment (if present) and a comment describing
/// it if appropriate.
-void AsmPrinter::EmitBasicBlockStart(const MachineBasicBlock *MBB,
- bool PrintColon) const {
+void AsmPrinter::EmitBasicBlockStart(const MachineBasicBlock *MBB) const {
if (unsigned Align = MBB->getAlignment())
EmitAlignment(Log2_32(Align));
GetMBBSymbol(MBB->getNumber())->print(O, MAI);
if (unsigned Align = MBB->getAlignment())
EmitAlignment(Log2_32(Align));
GetMBBSymbol(MBB->getNumber())->print(O, MAI);
-
- if (PrintColon)
- O << ':';
if (VerboseAsm) {
if (const BasicBlock *BB = MBB->getBasicBlock())
if (VerboseAsm) {
if (const BasicBlock *BB = MBB->getBasicBlock())
// Print a label for the basic block.
if (I != MF.begin()) {
// Print a label for the basic block.
if (I != MF.begin()) {
- EmitBasicBlockStart(I, false);
+ EmitBasicBlockStart(I);