From f4ec803cacaa378dd9459c5f9492ef01336c066f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 20 Mar 2018 22:02:57 +0000 Subject: Delete BuiltinCC. NFC. It is always identical to RuntimeCC. llvm-svn: 328050 --- clang/lib/CodeGen/CodeGenModule.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 9558615c7af..53177d26407 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -123,7 +123,6 @@ CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, ASTAllocaAddressSpace = getTargetCodeGenInfo().getASTAllocaAddressSpace(); RuntimeCC = getTargetCodeGenInfo().getABIInfo().getRuntimeCC(); - BuiltinCC = getTargetCodeGenInfo().getABIInfo().getBuiltinCC(); if (LangOpts.ObjC1) createObjCRuntime(); @@ -2646,7 +2645,7 @@ CodeGenModule::CreateBuiltinFunction(llvm::FunctionType *FTy, StringRef Name, /*DontDefer=*/false, /*IsThunk=*/false, ExtraAttrs); if (auto *F = dyn_cast(C)) if (F->empty()) - F->setCallingConv(getBuiltinCC()); + F->setCallingConv(getRuntimeCC()); return C; } -- cgit v1.2.3