mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ClangImporter, IRGen] Fixed the build after 9242f6ab51
Minor changes to adhere to Clang API. <rdar://problem/31305964>
This commit is contained in:
@@ -168,9 +168,9 @@ void IRGenFunction::emitMakeBoxUniqueCall(llvm::Value *box,
|
||||
llvm::Value *alignMask,
|
||||
llvm::Value *&outBox,
|
||||
llvm::Value *&outValueAddress) {
|
||||
auto attrs = llvm::AttributeSet::get(IGM.LLVMContext,
|
||||
llvm::AttributeSet::FunctionIndex,
|
||||
llvm::Attribute::NoUnwind);
|
||||
auto attrs = llvm::AttributeList::get(IGM.LLVMContext,
|
||||
llvm::AttributeList::FunctionIndex,
|
||||
llvm::Attribute::NoUnwind);
|
||||
|
||||
llvm::CallInst *call = Builder.CreateCall(IGM.getMakeBoxUniqueFn(),
|
||||
{box, typeMetadata, alignMask});
|
||||
|
||||
Reference in New Issue
Block a user