diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-20 22:02:57 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-20 22:02:57 +0000 |
| commit | 3d21ab31af7ffa1309f418dc56712bcf46b49cfe (patch) | |
| tree | 582c5442ae299f7f6da0785a72a549c78c48ab55 /lib/CodeGen/CGExprComplex.cpp | |
| parent | ba586d4340199f0438ca6493cb5b3b5c4cfcb52a (diff) | |
| download | clang-3d21ab31af7ffa1309f418dc56712bcf46b49cfe.tar.gz | |
Delete BuiltinCC. NFC.
It is always identical to RuntimeCC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprComplex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp index ededfbb494..3af2d7f317 100644 --- a/lib/CodeGen/CGExprComplex.cpp +++ b/lib/CodeGen/CGExprComplex.cpp @@ -629,7 +629,7 @@ ComplexPairTy ComplexExprEmitter::EmitComplexBinOpLibCall(StringRef LibCallName, llvm::Instruction *Call; RValue Res = CGF.EmitCall(FuncInfo, Callee, ReturnValueSlot(), Args, &Call); - cast<llvm::CallInst>(Call)->setCallingConv(CGF.CGM.getBuiltinCC()); + cast<llvm::CallInst>(Call)->setCallingConv(CGF.CGM.getRuntimeCC()); return Res.getComplexVal(); } |
