mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] Add flag to SILFunction to indicate async.
Includes boilerplate to parse and print as well as to serialize and deserialize.
This commit is contained in:
@@ -107,7 +107,7 @@ SILFunction::SILFunction(SILModule &Module, SILLinkage Linkage, StringRef Name,
|
||||
ExactSelfClass(isExactSelfClass),
|
||||
Inlined(false), Zombie(false), HasOwnership(true),
|
||||
WasDeserializedCanonical(false), IsWithoutActuallyEscapingThunk(false),
|
||||
OptMode(unsigned(OptimizationMode::NotSet)),
|
||||
IsAsync(false), OptMode(unsigned(OptimizationMode::NotSet)),
|
||||
EffectsKindAttr(unsigned(E)) {
|
||||
assert(!Transparent || !IsDynamicReplaceable);
|
||||
validateSubclassScope(classSubclassScope, isThunk, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user