forked from OSchip/llvm-project
parent
bca3ab0905
commit
b9512a7c57
|
@ -1369,9 +1369,8 @@ DIE *CompileUnit::getOrCreateSubprogramDIE(DISubprogram SP) {
|
|||
|
||||
DISubprogram SPDecl = SP.getFunctionDeclaration();
|
||||
DIE *DeclDie = NULL;
|
||||
if (SPDecl.isSubprogram()) {
|
||||
if (SPDecl.isSubprogram())
|
||||
DeclDie = getOrCreateSubprogramDIE(SPDecl);
|
||||
}
|
||||
|
||||
// Add function template parameters.
|
||||
addTemplateParams(*SPDie, SP.getTemplateParams());
|
||||
|
|
Loading…
Reference in New Issue