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 ce69d77cec
commit 8040bb58d3
1 changed files with 1 additions and 1 deletions

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