mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
Update for llvm API change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f565c0e97
commit
2d9184a883
@ -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));
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user