Changes in directory llvm/lib/Target/Alpha:
AlphaAsmPrinter.cpp updated: 1.34 -> 1.35 --- Log message: Extend printBasicBlockLabel a bit so that it can be used to print all basic block labels, consolidating the code to do so in one place for each target. --- Diffs of the changes: (+2 -3) AlphaAsmPrinter.cpp | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.34 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.35 --- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.34 Sat Apr 22 13:53:45 2006 +++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp Tue May 2 00:37:32 2006 @@ -191,9 +191,8 @@ // Print out code for the function. for (MachineFunction::const_iterator I = MF.begin(), E = MF.end(); I != E; ++I) { - // Print a label for the basic block. - O << PrivateGlobalPrefix << "LBB" << CurrentFnName << "_" << I->getNumber() - << ":\t" << CommentString << " " << I->getBasicBlock()->getName() << "\n"; + printBasicBlockLabel(I, true); + O << '\n'; for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end(); II != E; ++II) { // Print the assembly for the instruction. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits