mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
add an experimental feature DeferSendableChecking to defer the sendable checking of some sites. For now, only diagnostics corresponding to non-sendable arguments passed to calls with unsatisfied isolation are deferred. A SIL pass SendNonSendable is added to emit the deferred diagnostics, and ApplyExpr is appropriately enriched to make that deferral possible.
This commit is contained in:
@@ -365,6 +365,8 @@ PASS(TempRValueOpt, "temp-rvalue-opt",
|
||||
"Remove short-lived immutable temporary copies")
|
||||
PASS(IRGenPrepare, "irgen-prepare",
|
||||
"Cleanup SIL in preparation for IRGen")
|
||||
PASS(SendNonSendable, "send-non-sendable",
|
||||
"Checks calls that send non-sendable values between isolation domains")
|
||||
PASS(SILGenCleanup, "silgen-cleanup",
|
||||
"Cleanup SIL in preparation for diagnostics")
|
||||
PASS(SILCombine, "sil-combine",
|
||||
|
||||
Reference in New Issue
Block a user