mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[+0-all-args] Clean up remains of +1 convention from the runtime.
This commit is contained in:
@@ -2701,7 +2701,7 @@ static bool _dynamicCastClassToValueViaObjCBridgeable(
|
||||
(HeapObject *)srcObject, (OpaqueValue *)optDestBuffer,
|
||||
targetType, targetType, targetBridgeWitness);
|
||||
}
|
||||
SWIFT_CC_PLUSZERO_GUARD(swift_unknownRelease(srcObject));
|
||||
swift_unknownRelease(srcObject);
|
||||
|
||||
// If we succeeded, take from the optional buffer into the
|
||||
// destination buffer.
|
||||
@@ -3016,7 +3016,6 @@ _bridgeNonVerbatimFromObjectiveCConditional(
|
||||
|
||||
// Local function that releases the source and returns false.
|
||||
auto fail = [&] () -> bool {
|
||||
SWIFT_CC_PLUSONE_GUARD(swift_unknownRelease(sourceValue));
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user