diff options
| author | Devang Patel <dpatel@apple.com> | 2009-01-30 01:27:49 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2009-01-30 01:27:49 +0000 |
| commit | 33a21670f47d709e0e6eccabd5d3845eabe7532a (patch) | |
| tree | cbce1b503a125bd61b109c457493cb0084dd4811 /llvm/lib/CodeGen | |
| parent | 776a4c5baa3b0677d0a6738826ccefb67896dafa (diff) | |
| download | bcm5719-llvm-33a21670f47d709e0e6eccabd5d3845eabe7532a.tar.gz bcm5719-llvm-33a21670f47d709e0e6eccabd5d3845eabe7532a.zip | |
Remove dead code, again.
llvm-svn: 63358
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index f19c0c3bb46..b2a52cabe0e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -1636,20 +1636,6 @@ private: AddBlock(Die, Attribute, 0, Block); } - /// AddBasicType - Add a new basic type attribute to the specified entity. - /// - void AddBasicType(DIE *Entity, CompileUnit *Unit, - const std::string &Name, - unsigned Encoding, unsigned Size) { - - DIE Buffer(DW_TAG_base_type); - AddUInt(&Buffer, DW_AT_byte_size, 0, Size); - AddUInt(&Buffer, DW_AT_encoding, DW_FORM_data1, Encoding); - if (!Name.empty()) AddString(&Buffer, DW_AT_name, DW_FORM_string, Name); - DIE *BasicTypeDie = Unit->AddDie(Buffer); - AddDIEntry(Entity, DW_AT_type, DW_FORM_ref4, BasicTypeDie); - } - /// AddType - Add a new type attribute to the specified entity. void AddType(CompileUnit *DW_Unit, DIE *Entity, DIType Ty) { if (Ty.isNull()) |

