diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-10-04 23:37:30 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-10-04 23:37:30 +0000 |
commit | 41369b5f416f393b5869a19cb0629b6d6e97417d (patch) | |
tree | 03c15537c829791c91629a267316d284fe494206 /llvm/lib | |
parent | fc917c6208f7bc92b47ef917c5497dc6ea1edb02 (diff) | |
download | bcm5719-llvm-41369b5f416f393b5869a19cb0629b6d6e97417d.tar.gz bcm5719-llvm-41369b5f416f393b5869a19cb0629b6d6e97417d.zip |
Remove some dead code.
llvm-svn: 192000
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.h | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.h b/llvm/lib/CodeGen/AsmPrinter/DIE.h index 11625236e16..3f89aea02f7 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.h +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.h @@ -78,7 +78,6 @@ namespace llvm { unsigned getNumber() const { return Number; } uint16_t getChildrenFlag() const { return ChildrenFlag; } const SmallVectorImpl<DIEAbbrevData> &getData() const { return Data; } - void setTag(uint16_t T) { Tag = T; } void setChildrenFlag(uint16_t CF) { ChildrenFlag = CF; } void setNumber(unsigned N) { Number = N; } @@ -149,7 +148,6 @@ namespace llvm { const std::vector<DIE *> &getChildren() const { return Children; } const SmallVectorImpl<DIEValue*> &getValues() const { return Values; } DIE *getParent() const { return Parent; } - void setTag(uint16_t Tag) { Abbrev.setTag(Tag); } void setOffset(unsigned O) { Offset = O; } void setSize(unsigned S) { Size = S; } diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 554e7f66f57..4969f833bcc 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -920,11 +920,6 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DIDerivedType DTy) { // Get core information. StringRef Name = DTy.getName(); uint64_t Size = DTy.getSizeInBits() >> 3; - - // FIXME - Workaround for templates. - if (Buffer.getTag() == dwarf::DW_TAG_inheritance) - Buffer.setTag(dwarf::DW_TAG_reference_type); - uint16_t Tag = Buffer.getTag(); // Map to main type, void will not have a type. |