forked from OSchip/llvm-project
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:
parent
f557536f56
commit
ab53c91010
llvm/lib/CodeGen/AsmPrinter
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue