diff options
| author | Dan Gohman <gohman@apple.com> | 2008-07-01 00:16:26 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-07-01 00:16:26 +0000 |
| commit | b58aff4858791649090dae8af9f82e29531ca815 (patch) | |
| tree | 74bd6bce25a7ddf81d0aeb21269a70319088e0aa /llvm | |
| parent | fb19f9402b4fe837663c793c42d85ae3c0dbb8ba (diff) | |
| download | bcm5719-llvm-b58aff4858791649090dae8af9f82e29531ca815.tar.gz bcm5719-llvm-b58aff4858791649090dae8af9f82e29531ca815.zip | |
Minimize duplicated code in AsmPrinter::printLabel.
llvm-svn: 52944
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index 69bf5c69a70..a682a3f5a88 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/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 { |

