[SIL] Add SILFunctionType flag for async.

This commit is contained in:
Nate Chandler
2020-08-17 16:40:00 -07:00
parent 4145ef7a12
commit 9b8828848d
37 changed files with 153 additions and 88 deletions

View File

@@ -55,7 +55,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 572; // revert isUserAccessible
const uint16_t SWIFTMODULE_VERSION_MINOR = 573; // @async on SILFunctionType
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -1049,6 +1049,7 @@ namespace decls_block {
using SILFunctionTypeLayout = BCRecordLayout<
SIL_FUNCTION_TYPE,
BCFixed<1>, // async?
SILCoroutineKindField, // coroutine kind
ParameterConventionField, // callee convention
SILFunctionTypeRepresentationField, // representation