Update for llvm API change.

llvm-svn: 250375
This commit is contained in:
Eric Christopher 2015-10-15 07:01:16 +00:00
parent bdafb3cd1c
commit 73f00412f7
1 changed files with 1 additions and 2 deletions

View File

@ -848,8 +848,7 @@ static DISubroutineType *CreateFunctionType(unsigned NumArgs, DIFile *Unit) {
for (unsigned i = 0, e = NumArgs; i != e; ++i)
EltTys.push_back(DblTy);
return DBuilder->createSubroutineType(Unit,
DBuilder->getOrCreateTypeArray(EltTys));
return DBuilder->createSubroutineType(DBuilder->getOrCreateTypeArray(EltTys));
}
//===----------------------------------------------------------------------===//