DwarfUnit: Remove some misleading no-op code introduced in r204162.

Post commit review feedback from Manman called this out, but it looks
like it slipped through the cracks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2014-05-26 05:32:21 +00:00
parent 524b8836c2
commit 041b4abc73

View File

@ -1377,10 +1377,6 @@ DIE *DwarfUnit::getOrCreateSubprogramDIE(DISubprogram SP) {
DIScope Context = resolve(SP.getContext());
DIE *ContextDIE = getOrCreateContextDIE(Context);
// Unique declarations based on the ODR, where applicable.
SP = DISubprogram(DD->resolve(SP.getRef()));
assert(SP.Verify());
if (DIE *SPDie = getDIE(SP))
return SPDie;