[CoroutineAccessors] Control ABI via flag.

This commit is contained in:
Nate Chandler
2025-04-09 08:52:16 -07:00
parent 7a3393c677
commit 77055a5eb1
19 changed files with 63 additions and 8 deletions

View File

@@ -338,6 +338,10 @@ public:
// Whether to allow merging traps and cond_fails.
bool MergeableTraps = false;
/// Whether the @yield_once_2 convention is used by accessors added with the
/// CoroutineAccessors feature (i.e. read2/modify2).
bool CoroutineAccessorsUseYieldOnce2 = false;
SILOptions() {}
/// Return a hash code of any components from these options that should