mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[semantic-arc] Change SILGen to only use copy_value, destroy_value.
rdar://28851920
This commit is contained in:
@@ -657,7 +657,7 @@ MaterializeForSetEmitter::createAddressorCallback(SILFunction &F,
|
||||
|
||||
case AddressorKind::Owning:
|
||||
case AddressorKind::NativeOwning:
|
||||
gen.B.createStrongRelease(loc, owner, Atomicity::Atomic);
|
||||
gen.B.createDestroyValue(loc, owner);
|
||||
break;
|
||||
|
||||
case AddressorKind::NativePinning:
|
||||
|
||||
Reference in New Issue
Block a user