summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-03-21 22:16:32 +0000
committerAdrian Prantl <aprantl@apple.com>2014-03-21 22:16:32 +0000
commit78619f7171744caeeab1de1f4775ef5a07a79f8c (patch)
treead380b2fc024673ac15c2286dccb4bef8417693d /llvm/lib
parent66f96fe0cbcae5837f233090321d10a87a316ee8 (diff)
downloadbcm5719-llvm-78619f7171744caeeab1de1f4775ef5a07a79f8c.tar.gz
bcm5719-llvm-78619f7171744caeeab1de1f4775ef5a07a79f8c.zip
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
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
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<DIE *, 8> Children;
DIE *ObjectPointer = NULL;
OpenPOWER on IntegriCloud