mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
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:
parent
524b8836c2
commit
041b4abc73
@ -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…
x
Reference in New Issue
Block a user