From 41369b5f416f393b5869a19cb0629b6d6e97417d Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 4 Oct 2013 23:37:30 +0000 Subject: Remove some dead code. llvm-svn: 192000 --- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp') 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. -- cgit v1.2.3