summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ABIInfo.h
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
commitf4ec803cacaa378dd9459c5f9492ef01336c066f (patch)
treefef18fe1e2218109447ca4f578922ae7aacb9925 /clang/lib/CodeGen/ABIInfo.h
parent39b5367cba5d706ece4091cb33e850b68486b53a (diff)
downloadbcm5719-llvm-f4ec803cacaa378dd9459c5f9492ef01336c066f.tar.gz
bcm5719-llvm-f4ec803cacaa378dd9459c5f9492ef01336c066f.zip
Delete BuiltinCC. NFC.
It is always identical to RuntimeCC. llvm-svn: 328050
Diffstat (limited to 'clang/lib/CodeGen/ABIInfo.h')
-rw-r--r--clang/lib/CodeGen/ABIInfo.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/clang/lib/CodeGen/ABIInfo.h b/clang/lib/CodeGen/ABIInfo.h
index fa0461f5d90..feed3833f24 100644
--- a/clang/lib/CodeGen/ABIInfo.h
+++ b/clang/lib/CodeGen/ABIInfo.h
@@ -53,12 +53,9 @@ namespace swiftcall {
CodeGen::CodeGenTypes &CGT;
protected:
llvm::CallingConv::ID RuntimeCC;
- llvm::CallingConv::ID BuiltinCC;
public:
ABIInfo(CodeGen::CodeGenTypes &cgt)
- : CGT(cgt),
- RuntimeCC(llvm::CallingConv::C),
- BuiltinCC(llvm::CallingConv::C) {}
+ : CGT(cgt), RuntimeCC(llvm::CallingConv::C) {}
virtual ~ABIInfo();
@@ -77,11 +74,6 @@ namespace swiftcall {
return RuntimeCC;
}
- /// Return the calling convention to use for compiler builtins
- llvm::CallingConv::ID getBuiltinCC() const {
- return BuiltinCC;
- }
-
virtual void computeInfo(CodeGen::CGFunctionInfo &FI) const = 0;
/// EmitVAArg - Emit the target dependent code to load a value of
OpenPOWER on IntegriCloud