mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Debug Info: simplify code a bit.
llvm-svn: 193001
This commit is contained in:
parent
c1a311233c
commit
f4efad0180
@ -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…
Reference in New Issue
Block a user