diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-13 18:25:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-13 18:25:37 +0000 |
commit | 2faa4ef57551d45e7b58b1827ae8156cea221637 (patch) | |
tree | 60f51fb27e18daf80678cda1acb6b8becba00a06 /include | |
parent | adfec708f335a7ea93d685ae753f74a53ca05b83 (diff) | |
download | external_llvm-2faa4ef57551d45e7b58b1827ae8156cea221637.zip external_llvm-2faa4ef57551d45e7b58b1827ae8156cea221637.tar.gz external_llvm-2faa4ef57551d45e7b58b1827ae8156cea221637.tar.bz2 |
replace printBasicBlockLabel with EmitBasicBlockStart,
now that printBasicBlockLabel is only used for starting
a MBB. This allows elimination of a bunch of arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index cd30b39..65090ad 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -350,12 +350,11 @@ namespace llvm { /// block label. MCSymbol *GetMBBSymbol(unsigned MBBID) const; - /// printBasicBlockLabel - This method prints the label for the specified - /// MachineBasicBlock - void printBasicBlockLabel(const MachineBasicBlock *MBB, - bool printAlign = false, - bool printColon = false, - bool printComment = true) const; + /// 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; protected: /// EmitZeros - Emit a block of zeros. /// |