aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-13 18:25:37 +0000
committerChris Lattner <sabre@nondot.org>2009-09-13 18:25:37 +0000
commit2faa4ef57551d45e7b58b1827ae8156cea221637 (patch)
tree60f51fb27e18daf80678cda1acb6b8becba00a06 /lib/Target/XCore
parentadfec708f335a7ea93d685ae753f74a53ca05b83 (diff)
downloadexternal_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 'lib/Target/XCore')
-rw-r--r--lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
index 233e762..bdb44ef 100644
--- a/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
+++ b/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
@@ -273,7 +273,7 @@ bool XCoreAsmPrinter::runOnMachineFunction(MachineFunction &MF)
// Print a label for the basic block.
if (I != MF.begin()) {
- printBasicBlockLabel(I, true , true);
+ EmitBasicBlockStart(I);
O << '\n';
}