From fcf51fd298650957ddb0a77cbd8c6502dbf81fe9 Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Fri, 25 Feb 2011 16:30:32 +0000 Subject: Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. llvm-svn: 126488 --- llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp') 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 @@ -276,29 +276,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 //===----------------------------------------------------------------------===// -- cgit v1.2.3