[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp

Nate Begeman natebegeman at mac.com
Tue May 2 10:36:58 PDT 2006



Changes in directory llvm/lib/CodeGen:

AsmPrinter.cpp updated: 1.64 -> 1.65
---
Log message:

Print function number instead of name


---
Diffs of the changes:  (+2 -3)

 AsmPrinter.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.64 llvm/lib/CodeGen/AsmPrinter.cpp:1.65
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.64	Tue May  2 00:37:32 2006
+++ llvm/lib/CodeGen/AsmPrinter.cpp	Tue May  2 12:36:46 2006
@@ -731,9 +731,8 @@
 void AsmPrinter::printBasicBlockLabel(const MachineBasicBlock *MBB,
                                       bool printColon,
                                       bool printComment) const {
-  O << PrivateGlobalPrefix << "LBB" 
-    << Mang->getValueName(MBB->getParent()->getFunction())
-    << "_" << MBB->getNumber();
+  O << PrivateGlobalPrefix << "BB" << FunctionNumber << "_"
+    << MBB->getNumber();
   if (printColon)
     O << ':';
   if (printComment)






More information about the llvm-commits mailing list