mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Debug Info: simplify code a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
22f9dd4591
commit
57a964bc63
@ -1376,7 +1376,7 @@ DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) {
|
||||
addDIEEntry(SPDie, dwarf::DW_AT_specification, DeclDie);
|
||||
|
||||
// Add subprogram definitions to the CU die directly.
|
||||
CUDie.get()->addChild(SPDie);
|
||||
addDie(SPDie);
|
||||
|
||||
return SPDie;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user