mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: add matchesActorIsolation
Returns true if the conformance is not isolated or if its isolation matches the isolation `inFunction`.
This commit is contained in:
@@ -69,6 +69,10 @@ DynamicCastFeasibility classifyDynamicCast(
|
||||
bool isSourceTypeExact = false,
|
||||
bool isWholeModuleOpts = false);
|
||||
|
||||
/// Returns true if the conformance is not isolated or if its isolation matches
|
||||
/// the isolation `inFunction`.
|
||||
bool matchesActorIsolation(ProtocolConformanceRef conformance, SILFunction *inFunction);
|
||||
|
||||
SILValue emitSuccessfulScalarUnconditionalCast(SILBuilder &B, SILLocation loc,
|
||||
SILDynamicCastInst inst);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user