From 78619f7171744caeeab1de1f4775ef5a07a79f8c Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 21 Mar 2014 22:16:32 +0000 Subject: Dwarf Debug: Remove some cargo-cult type uniquing. Scopes do not have an ID, so this is a noop. Thanks Manman for catching this! llvm-svn: 204528 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 027f0b89a51..af7c3c6435e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -604,7 +604,7 @@ DIE *DwarfDebug::constructScopeDIE(DwarfCompileUnit *TheCU, return NULL; // Unique scope where applicable. - DIScope DS(resolve(DIScope(Scope->getScopeNode()).getRef())); + DIScope DS(Scope->getScopeNode()); SmallVector Children; DIE *ObjectPointer = NULL; -- cgit v1.2.3