summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-06-17 17:30:31 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-06-17 17:30:31 +0000
commit91d9bfcec59e8731e14b63ca81d4832fea2e47e4 (patch)
treeaf4b270ab9b558b31174dcab23b66bd537e9a02c /clang/lib/CodeGen
parent025780ba6e92a299b96cfb6d3b1e807e65a0db9d (diff)
downloadbcm5719-llvm-91d9bfcec59e8731e14b63ca81d4832fea2e47e4.tar.gz
bcm5719-llvm-91d9bfcec59e8731e14b63ca81d4832fea2e47e4.zip
CodeGen: make the type match the comment for a libcall
Fix the type for a (runtime) library call to match both the comment and the runtime implementation. As it happens, the type being used matched, this just makes it more precise. llvm-svn: 305638
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGObjCMac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp
index c78d3febd4c..7976c53d9e9 100644
--- a/clang/lib/CodeGen/CGObjCMac.cpp
+++ b/clang/lib/CodeGen/CGObjCMac.cpp
@@ -308,7 +308,7 @@ public:
SmallVector<CanQualType,5> Params;
Params.push_back(Ctx.VoidPtrTy);
Params.push_back(Ctx.VoidPtrTy);
- Params.push_back(Ctx.LongTy);
+ Params.push_back(Ctx.getSizeType());
Params.push_back(Ctx.BoolTy);
Params.push_back(Ctx.BoolTy);
llvm::FunctionType *FTy =
OpenPOWER on IntegriCloud