diff options
| author | James Y Knight <jyknight@google.com> | 2019-02-03 21:53:49 +0000 |
|---|---|---|
| committer | James Y Knight <jyknight@google.com> | 2019-02-03 21:53:49 +0000 |
| commit | 112a7a3c34df3dc506b52cd89e155287cdbcea55 (patch) | |
| tree | fbd00a4fe9ac0fdde9aad1fd95a4ad8c271ac3e8 /lib/CodeGen/CGExprCXX.cpp | |
| parent | 749fd7613d081a12c0dd43ea88d5c63c2ead2a21 (diff) | |
| download | clang-112a7a3c34df3dc506b52cd89e155287cdbcea55.tar.gz | |
[opaque pointer types] Trivial changes towards CallInst requiring
explicit function types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@353009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprCXX.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprCXX.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGExprCXX.cpp b/lib/CodeGen/CGExprCXX.cpp index 1f650ae419..86ec18dbe2 100644 --- a/lib/CodeGen/CGExprCXX.cpp +++ b/lib/CodeGen/CGExprCXX.cpp @@ -863,7 +863,7 @@ static llvm::Value *EmitCXXNewAllocSize(CodeGenFunction &CGF, // can be ignored because the result shouldn't be used if // allocation fails. if (typeSizeMultiplier != 1) { - llvm::Value *umul_with_overflow + llvm::Function *umul_with_overflow = CGF.CGM.getIntrinsic(llvm::Intrinsic::umul_with_overflow, CGF.SizeTy); llvm::Value *tsmV = @@ -903,7 +903,7 @@ static llvm::Value *EmitCXXNewAllocSize(CodeGenFunction &CGF, if (cookieSize != 0) { sizeWithoutCookie = size; - llvm::Value *uadd_with_overflow + llvm::Function *uadd_with_overflow = CGF.CGM.getIntrinsic(llvm::Intrinsic::uadd_with_overflow, CGF.SizeTy); llvm::Value *cookieSizeV = llvm::ConstantInt::get(CGF.SizeTy, cookieSize); |
