mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Runtime: Only complain about a deprecated ObjC entry point once.
We only need to alert the user once. rdar://problem/32229417
This commit is contained in:
@@ -385,6 +385,12 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
|
||||
|
||||
initClangTypeConverter();
|
||||
|
||||
if (ClangASTContext) {
|
||||
auto atomicBoolTy = ClangASTContext->getAtomicType(ClangASTContext->BoolTy);
|
||||
AtomicBoolSize = Size(ClangASTContext->getTypeSize(atomicBoolTy));
|
||||
AtomicBoolAlign = Alignment(ClangASTContext->getTypeSize(atomicBoolTy));
|
||||
}
|
||||
|
||||
IsSwiftErrorInRegister =
|
||||
clang::CodeGen::swiftcall::isSwiftErrorLoweredInRegister(
|
||||
ClangCodeGen->CGM());
|
||||
|
||||
Reference in New Issue
Block a user