diff options
| author | James Y Knight <jyknight@google.com> | 2019-01-30 02:54:28 +0000 |
|---|---|---|
| committer | James Y Knight <jyknight@google.com> | 2019-01-30 02:54:28 +0000 |
| commit | 80600084724ec0ae1c5422aef719f8a22aa92c46 (patch) | |
| tree | b3e7b44ba634034a2f1b9b9a55a7800a105df769 /lib/CodeGen/CGExprComplex.cpp | |
| parent | 55d093e6fc33f40bfb27a9a500b7cdd4a31f0b86 (diff) | |
| download | clang-80600084724ec0ae1c5422aef719f8a22aa92c46.tar.gz | |
Cleanup: replace uses of CallSite with CallBase.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprComplex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp index 56a86d7a95..0e4b1e8a96 100644 --- a/lib/CodeGen/CGExprComplex.cpp +++ b/lib/CodeGen/CGExprComplex.cpp @@ -630,9 +630,9 @@ ComplexPairTy ComplexExprEmitter::EmitComplexBinOpLibCall(StringRef LibCallName, llvm::Constant *Func = CGF.CGM.CreateBuiltinFunction(FTy, LibCallName); CGCallee Callee = CGCallee::forDirect(Func, FQTy->getAs<FunctionProtoType>()); - llvm::Instruction *Call; + llvm::CallBase *Call; RValue Res = CGF.EmitCall(FuncInfo, Callee, ReturnValueSlot(), Args, &Call); - cast<llvm::CallInst>(Call)->setCallingConv(CGF.CGM.getRuntimeCC()); + Call->setCallingConv(CGF.CGM.getRuntimeCC()); return Res.getComplexVal(); } |
