summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-30 01:25:47 +0000
committerDevang Patel <dpatel@apple.com>2009-01-30 01:25:47 +0000
commit776a4c5baa3b0677d0a6738826ccefb67896dafa (patch)
treece91c539ec98c733cc7a8b14c39244a49a4e0b10 /llvm/lib
parent4ba91058d2434c208a11ff13746b8fdb35ac1392 (diff)
downloadbcm5719-llvm-776a4c5baa3b0677d0a6738826ccefb67896dafa.tar.gz
bcm5719-llvm-776a4c5baa3b0677d0a6738826ccefb67896dafa.zip
Remove dead code.
llvm-svn: 63357
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index d88c0e6fcae..f19c0c3bb46 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())
OpenPOWER on IntegriCloud