Dwarf Debug: Remove some cargo-cult type uniquing. Scopes do not have

an ID, so this is a noop.
Thanks Manman for catching this!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2014-03-21 22:16:32 +00:00
parent a60f719c8d
commit 0fb178b831

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;