Add begin_apply, abort_apply, and end_apply instructions to allow

yield_once coroutines to be executed.
This commit is contained in:
John McCall
2017-11-13 04:01:42 -05:00
parent aff457381c
commit 045998544f
18 changed files with 621 additions and 61 deletions

View File

@@ -54,7 +54,7 @@ const uint16_t VERSION_MAJOR = 0;
/// in source control, you should also update the comment to briefly
/// 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.
const uint16_t VERSION_MINOR = 383; // Last change: Builtin.SILToken
const uint16_t VERSION_MINOR = 384; // Last change: begin_apply
using DeclIDField = BCFixed<31>;