@@ -81,7 +81,7 @@ struct AsyncLazySequence<S: Sequence>: AsyncSequence {
81
81
// CHECK: [[LOOP_DEST]]:
82
82
// CHECK: [[NEXT_RESULT:%.*]] = alloc_stack $Optional<Int>
83
83
// CHECK: [[MUTATION:%.*]] = begin_access
84
- // CHECK: [[WITNESS_METHOD:%.*]] = function_ref @$sScIsE12_nextElement0B0QzSgyYa7FailureQzYKF : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure)
84
+ // CHECK: [[WITNESS_METHOD:%.*]] = function_ref @$sScIsE11nextElement0B0QzSgyYa7FailureQzYKF : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure)
85
85
// CHECK: [[ERROR_SLOT:%[0-9]+]] = alloc_stack $Never
86
86
// CHECK: try_apply [[WITNESS_METHOD]]<AsyncLazySequence<[Int]>.Iterator>([[NEXT_RESULT]], [[ERROR_SLOT]], [[MUTATION]]) : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure), normal [[NORMAL_BB:bb[0-2]+]], error [[ERROR_BB:bb[0-9]+]]
87
87
// CHECK: [[NORMAL_BB]](
@@ -113,7 +113,7 @@ func trivialStruct(_ xx: AsyncLazySequence<[Int]>) async {
113
113
// CHECK: [[LOOP_DEST]]:
114
114
// CHECK: [[NEXT_RESULT:%.*]] = alloc_stack $Optional<Int>
115
115
// CHECK: [[MUTATION:%.*]] = begin_access
116
- // CHECK: [[WITNESS_METHOD:%.*]] = function_ref @$sScIsE12_nextElement0B0QzSgyYa7FailureQzYKF : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure)
116
+ // CHECK: [[WITNESS_METHOD:%.*]] = function_ref @$sScIsE11nextElement0B0QzSgyYa7FailureQzYKF : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure)
117
117
// CHECK: [[ERROR_SLOT:%[0-9]+]] = alloc_stack $Never
118
118
// CHECK: try_apply [[WITNESS_METHOD]]<AsyncLazySequence<[Int]>.Iterator>([[NEXT_RESULT]], [[ERROR_SLOT]], [[MUTATION]]) : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure), normal [[NORMAL_BB:bb[0-2]+]], error [[ERROR_BB:bb[0-9]+]]
119
119
// CHECK: [[NORMAL_BB]](
@@ -172,7 +172,7 @@ func trivialStructBreak(_ xx: AsyncLazySequence<[Int]>) async {
172
172
// CHECK: [[LOOP_DEST]]:
173
173
// CHECK: [[NEXT_RESULT:%.*]] = alloc_stack $Optional<Int>
174
174
// CHECK: [[MUTATION:%.*]] = begin_access
175
- // CHECK: [[WITNESS_METHOD:%.*]] = function_ref @$sScIsE12_nextElement0B0QzSgyYa7FailureQzYKF : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure)
175
+ // CHECK: [[WITNESS_METHOD:%.*]] = function_ref @$sScIsE11nextElement0B0QzSgyYa7FailureQzYKF : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure)
176
176
// CHECK: [[ERROR_SLOT:%[0-9]+]] = alloc_stack $Never
177
177
// CHECK: try_apply [[WITNESS_METHOD]]<AsyncLazySequence<[Int]>.Iterator>([[NEXT_RESULT]], [[ERROR_SLOT]], [[MUTATION]]) : $@convention(method) @async <τ_0_0 where τ_0_0 : AsyncIteratorProtocol> (@inout τ_0_0) -> (@out Optional<τ_0_0.Element>, @error_indirect τ_0_0.Failure), normal [[NORMAL_BB:bb[0-2]+]], error [[ERROR_BB:bb[0-9]+]]
178
178
// CHECK: [[NORMAL_BB]](
0 commit comments