summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-08 22:47:57 +0000
committerChris Lattner <sabre@nondot.org>2010-03-08 22:47:57 +0000
commitb779eb6a1da9e8eb37f38d33810559eb1de2aad6 (patch)
tree899bafdf7ab3be21045f4be79764c1f3d461f080 /llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
parent722714dde2ecab8ccba42cb854ce31dd5267b79c (diff)
downloadbcm5719-llvm-b779eb6a1da9e8eb37f38d33810559eb1de2aad6.tar.gz
bcm5719-llvm-b779eb6a1da9e8eb37f38d33810559eb1de2aad6.zip
eliminate the non-MCSymbol versions of EmitReference.
llvm-svn: 97997
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
index a28a1dcecbc..36d85216ba4 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
@@ -234,19 +234,6 @@ void DwarfPrinter::PrintLabelName(const char *Tag, unsigned Number,
/// EmitReference - Emit a reference to a label.
///
-void DwarfPrinter::EmitReference(const char *Tag, unsigned Number,
- bool IsPCRelative, bool Force32Bit) const {
- PrintRelDirective(Force32Bit);
- PrintLabelName(Tag, Number);
- if (IsPCRelative) O << "-" << MAI->getPCSymbol();
-}
-void DwarfPrinter::EmitReference(const std::string &Name, bool IsPCRelative,
- bool Force32Bit) const {
- PrintRelDirective(Force32Bit);
- O << Name;
- if (IsPCRelative) O << "-" << MAI->getPCSymbol();
-}
-
void DwarfPrinter::EmitReference(const MCSymbol *Sym, bool IsPCRelative,
bool Force32Bit) const {
PrintRelDirective(Force32Bit);
OpenPOWER on IntegriCloud