summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-03-20 22:02:57 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-03-20 22:02:57 +0000
commit3d21ab31af7ffa1309f418dc56712bcf46b49cfe (patch)
tree582c5442ae299f7f6da0785a72a549c78c48ab55 /lib/CodeGen/CGExprComplex.cpp
parentba586d4340199f0438ca6493cb5b3b5c4cfcb52a (diff)
downloadclang-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.cpp2
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();
}