mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Don't print out the MBB label for the entry mbb
llvm-svn: 22953
This commit is contained in:
parent
d8b7b492fe
commit
0d32366da7
@ -400,8 +400,12 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
for (MachineFunction::const_iterator I = MF.begin(), E = MF.end();
|
||||
I != E; ++I) {
|
||||
// Print a label for the basic block.
|
||||
O << ".LBB" << CurrentFnName << "_" << I->getNumber() << ":\t"
|
||||
<< CommentString << " " << I->getBasicBlock()->getName() << "\n";
|
||||
if (I != MF.begin()) {
|
||||
O << ".LBB" << CurrentFnName << "_" << I->getNumber() << ":\t";
|
||||
if (!I->getBasicBlock()->getName().empty())
|
||||
O << CommentString << " " << I->getBasicBlock()->getName();
|
||||
O << "\n";
|
||||
}
|
||||
for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end();
|
||||
II != E; ++II) {
|
||||
// Print the assembly for the instruction.
|
||||
|
Loading…
Reference in New Issue
Block a user