From 776a4c5baa3b0677d0a6738826ccefb67896dafa Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 30 Jan 2009 01:25:47 +0000 Subject: [PATCH] Remove dead code. llvm-svn: 63357 --- llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index d88c0e6fcae6..f19c0c3bb468 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -1650,16 +1650,6 @@ private: AddDIEntry(Entity, DW_AT_type, DW_FORM_ref4, BasicTypeDie); } - /// AddPointerType - Add a new pointer type attribute to the specified entity. - /// - void AddPointerType(DIE *Entity, CompileUnit *Unit, const std::string &Name) { - DIE Buffer(DW_TAG_pointer_type); - AddUInt(&Buffer, DW_AT_byte_size, 0, TD->getPointerSize()); - if (!Name.empty()) AddString(&Buffer, DW_AT_name, DW_FORM_string, Name); - DIE *PointerTypeDie = Unit->AddDie(Buffer); - AddDIEntry(Entity, DW_AT_type, DW_FORM_ref4, PointerTypeDie); - } - /// AddType - Add a new type attribute to the specified entity. void AddType(CompileUnit *DW_Unit, DIE *Entity, DIType Ty) { if (Ty.isNull()) -- GitLab