[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h

Nate Begeman natebegeman at mac.com
Mon May 1 22:37:48 PDT 2006



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.36 -> 1.37
---
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:  (+3 -1)

 AsmPrinter.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.36 llvm/include/llvm/CodeGen/AsmPrinter.h:1.37
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.36	Mon May  1 22:58:45 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Tue May  2 00:37:32 2006
@@ -276,7 +276,9 @@
     
     /// printBasicBlockLabel - This method prints the label for the specified
     /// MachineBasicBlock
-    virtual void printBasicBlockLabel(const MachineBasicBlock *MBB) const;
+    virtual void printBasicBlockLabel(const MachineBasicBlock *MBB,
+                                      bool printColon = false,
+                                      bool printComment = true) const;
     
   private:
     void EmitXXStructorList(Constant *List);






More information about the llvm-commits mailing list