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.

llvm-svn: 209611
This commit is contained in:
David Blaikie 2014-05-26 05:32:21 +00:00
parent f557536f56
commit ab53c91010
1 changed files with 0 additions and 4 deletions
llvm/lib/CodeGen/AsmPrinter

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;