diff options
| author | Adrian Prantl <aprantl@apple.com> | 2014-03-21 22:16:32 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2014-03-21 22:16:32 +0000 |
| commit | 78619f7171744caeeab1de1f4775ef5a07a79f8c (patch) | |
| tree | ad380b2fc024673ac15c2286dccb4bef8417693d /llvm/lib | |
| parent | 66f96fe0cbcae5837f233090321d10a87a316ee8 (diff) | |
| download | bcm5719-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.cpp | 2 |
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; |

