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
This commit is contained in:
Adrian Prantl 2014-03-21 22:16:32 +00:00
parent 66f96fe0cb
commit 78619f7171
1 changed files with 1 additions and 1 deletions

View File

@ -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;