1
0
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:
Manman Ren 2013-10-18 20:52:22 +00:00
parent c1a311233c
commit f4efad0180

View File

@ -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;
}