@@ -1000,7 +1000,7 @@ void IRGenFunction::emitNativeStrongRetain(llvm::Value *value,
10001000 FunctionPointer function;
10011001 if (atomicity == Atomicity::Atomic &&
10021002 IGM.TargetInfo .HasSwiftSwiftDirectRuntimeLibrary &&
1003- getOptions ().EnableSwiftDirectRuntime )
1003+ getOptions ().EnableSwiftDirectRetainRelease )
10041004 function = IGM.getNativeStrongRetainDirectFunctionPointer ();
10051005 else if (atomicity == Atomicity::Atomic)
10061006 function = IGM.getNativeStrongRetainFunctionPointer ();
@@ -1265,7 +1265,7 @@ void IRGenFunction::emitNativeStrongRelease(llvm::Value *value,
12651265 llvm::Constant *function;
12661266 if (atomicity == Atomicity::Atomic &&
12671267 IGM.TargetInfo .HasSwiftSwiftDirectRuntimeLibrary &&
1268- getOptions ().EnableSwiftDirectRuntime )
1268+ getOptions ().EnableSwiftDirectRetainRelease )
12691269 function = IGM.getNativeStrongReleaseDirectFn ();
12701270 else if (atomicity == Atomicity::Atomic)
12711271 function = IGM.getNativeStrongReleaseFn ();
@@ -1373,7 +1373,7 @@ void IRGenFunction::emitBridgeStrongRetain(llvm::Value *value,
13731373 llvm::Constant *function;
13741374 if (atomicity == Atomicity::Atomic &&
13751375 IGM.TargetInfo .HasSwiftSwiftDirectRuntimeLibrary &&
1376- getOptions ().EnableSwiftDirectRuntime )
1376+ getOptions ().EnableSwiftDirectRetainRelease )
13771377 function = IGM.getBridgeObjectStrongRetainDirectFn ();
13781378 else if (atomicity == Atomicity::Atomic)
13791379 function = IGM.getBridgeObjectStrongRetainFn ();
@@ -1387,7 +1387,7 @@ void IRGenFunction::emitBridgeStrongRelease(llvm::Value *value,
13871387 llvm::Constant *function;
13881388 if (atomicity == Atomicity::Atomic &&
13891389 IGM.TargetInfo .HasSwiftSwiftDirectRuntimeLibrary &&
1390- getOptions ().EnableSwiftDirectRuntime )
1390+ getOptions ().EnableSwiftDirectRetainRelease )
13911391 function = IGM.getBridgeObjectStrongReleaseDirectFn ();
13921392 else if (atomicity == Atomicity::Atomic)
13931393 function = IGM.getBridgeObjectStrongReleaseFn ();
0 commit comments