Another fix for a build-bot reported API mismatch.

llvm-svn: 166668
This commit is contained in:
Chandler Carruth 2012-10-25 07:42:03 +00:00
parent 2435330ead
commit acdc5e812d
1 changed files with 2 additions and 1 deletions

View File

@ -180,7 +180,8 @@ void OMPGenerator::createCallLoopEndNowait() {
}
IntegerType *OMPGenerator::getIntPtrTy() {
return P->getAnalysis<DataLayout>().getIntPtrType(Builder.getContext());
// FIXME: This might need to get a proper address space. Hard code 0 for now.
return P->getAnalysis<DataLayout>().getIntPtrType(Builder.getContext(), 0u);
}
Module *OMPGenerator::getModule() {