summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-02-25 16:30:32 +0000
committerCameron Zwarich <zwarich@apple.com>2011-02-25 16:30:32 +0000
commitfcf51fd298650957ddb0a77cbd8c6502dbf81fe9 (patch)
tree04a6ac30a41ba0c74fa9dd5a27a1be61ca6110f2 /llvm/lib/CodeGen/AsmPrinter/DIE.cpp
parentf29ba48c7f9e459132032193ac4ec0450f1a4cba (diff)
downloadbcm5719-llvm-fcf51fd298650957ddb0a77cbd8c6502dbf81fe9.tar.gz
bcm5719-llvm-fcf51fd298650957ddb0a77cbd8c6502dbf81fe9.zip
Roll out r126425 and r126450 to see if it fixes the failures on the buildbots.
llvm-svn: 126488
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
index ff3c6da084b..21396ca37f0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
@@ -277,29 +277,6 @@ void DIELabel::print(raw_ostream &O) {
#endif
//===----------------------------------------------------------------------===//
-// DIESectionOffset Implementation
-//===----------------------------------------------------------------------===//
-
-/// EmitValue - Emit label value.
-///
-void DIESectionOffset::EmitValue(AsmPrinter *AP, unsigned Form) const {
- AP->EmitSectionOffset (Label, Label);
-}
-
-/// SizeOf - Determine size of label value in bytes.
-///
-unsigned DIESectionOffset::SizeOf(AsmPrinter *AP, unsigned Form) const {
- if (Form == dwarf::DW_FORM_data4) return 4;
- return AP->getTargetData().getPointerSize();
-}
-
-#ifndef NDEBUG
-void DIESectionOffset::print(raw_ostream &O) {
- O << "SecRelLbl: " << Label->getName();
-}
-#endif
-
-//===----------------------------------------------------------------------===//
// DIEDelta Implementation
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud