mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 02:28:23 +00:00
Remove dead code.
llvm-svn: 63357
This commit is contained in:
parent
779653b60e
commit
180d237792
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user