projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4406604
)
Minimize duplicated code in AsmPrinter::printLabel.
author
Dan Gohman
<gohman@apple.com>
Tue, 1 Jul 2008 00:16:26 +0000
(
00:16
+0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 1 Jul 2008 00:16:26 +0000
(
00:16
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52944
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index 69bf5c69a7080ca3ef9f9739c5770b24fcf8e405..a682a3f5a88dc752191550a3a07603edae8c8234 100644
(file)
--- a/
lib/CodeGen/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter.cpp
@@
-1318,8
+1318,7
@@
void AsmPrinter::printImplicitDef(const MachineInstr *MI) const {
/// printLabel - This method prints a local label used by debug and
/// exception handling tables.
void AsmPrinter::printLabel(const MachineInstr *MI) const {
- O << TAI->getPrivateGlobalPrefix()
- << "label" << MI->getOperand(0).getImm() << ":\n";
+ printLabel(MI->getOperand(0).getImm());
}
void AsmPrinter::printLabel(unsigned Id) const {