aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
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
commit425b64ecef77ff30154aeea9a8be14938be5f6a6 (patch)
treecdec6db74d6824fb3bb27b2c96193e8c37f9f1e4 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parentd234e59e577ef93fc52492b92f613898a96d9f24 (diff)
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfWriter.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index d88c0e6fca..f19c0c3bb4 100644
--- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/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())