Skip to content

Commit 36fed87

Browse files
committed
[Test] Fix whitespace.
1 parent 09c35d1 commit 36fed87

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

test/SILGen/coroutine_accessors.swift

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-swift-emit-silgen \
2-
// RUN: %s \
1+
// RUN: %target-swift-emit-silgen \
2+
// RUN: %s \
33
// RUN: -enable-experimental-feature CoroutineAccessors \
44
// RUN: | %FileCheck %s
55

@@ -10,7 +10,7 @@ public var o: any AnyObject
1010
public var _i: Int = 0
1111

1212
public var irm: Int {
13-
// CHECK-LABEL: sil [ossa] @$s19coroutine_accessors1SV3irmSivy :
13+
// CHECK-LABEL: sil [ossa] @$s19coroutine_accessors1SV3irmSivy :
1414
// CHECK-SAME: $@yield_once
1515
// CHECK-SAME: @convention(method)
1616
// CHECK-SAME: (@guaranteed S)
@@ -21,7 +21,7 @@ public var irm: Int {
2121
read {
2222
yield _i
2323
}
24-
// CHECK-LABEL: sil [ossa] @$s19coroutine_accessors1SV3irmSivx :
24+
// CHECK-LABEL: sil [ossa] @$s19coroutine_accessors1SV3irmSivx :
2525
// CHECK-SAME: $@yield_once
2626
// CHECK-SAME: @convention(method)
2727
// CHECK-SAME: (@inout S)
@@ -46,6 +46,7 @@ public var irm: Int {
4646
// CHECK: end_apply [[TOKEN]]
4747
// CHECK: return [[VALUE:%[^,]+]]
4848
// CHECK-LABEL: } // end sil function '$s19coroutine_accessors1SV3irmSivg'
49+
4950
// CHECK-LABEL: sil {{.*}}[ossa] @$s19coroutine_accessors1SV3irmSivs :
5051
// CHECK-SAME: $@convention(method)
5152
// CHECK-SAME: (Int, @inout S)
@@ -55,14 +56,14 @@ public var irm: Int {
5556
// CHECK: bb0(
5657
// CHECK-SAME: [[NEW_VALUE:%[^,]+]] :
5758
// CHECK-SAME: [[SELF:%[^,]+]] :
58-
// CHECK-SAME: ):
59-
// CHECK: [[SELF_ACCESS:%[^,]+]] = begin_access [modify] [unknown] [[SELF]]
60-
// CHECK: [[MODIFY_ACCESSOR:%[^,]+]] = function_ref @$s19coroutine_accessors1SV3irmSivx
61-
// CHECK: ([[VALUE_ADDRESS:%[^,]+]], [[TOKEN:%[^,]+]]) = begin_apply [[MODIFY_ACCESSOR]]([[SELF_ACCESS]])
62-
// CHECK: assign [[NEW_VALUE:%[^,]+]] to [[VALUE_ADDRESS]]
63-
// CHECK: end_apply [[TOKEN]]
64-
// CHECK: end_access [[SELF_ACCESS]]
65-
// CHECK-LABEL: } // end sil function '$s19coroutine_accessors1SV3irmSivs'
59+
// CHECK-SAME: ):
60+
// CHECK: [[SELF_ACCESS:%[^,]+]] = begin_access [modify] [unknown] [[SELF]]
61+
// CHECK: [[MODIFY_ACCESSOR:%[^,]+]] = function_ref @$s19coroutine_accessors1SV3irmSivx
62+
// CHECK: ([[VALUE_ADDRESS:%[^,]+]], [[TOKEN:%[^,]+]]) = begin_apply [[MODIFY_ACCESSOR]]([[SELF_ACCESS]])
63+
// CHECK: assign [[NEW_VALUE:%[^,]+]] to [[VALUE_ADDRESS]]
64+
// CHECK: end_apply [[TOKEN]]
65+
// CHECK: end_access [[SELF_ACCESS]]
66+
// CHECK-LABEL:} // end sil function '$s19coroutine_accessors1SV3irmSivs'
6667
} // public var irm
6768

6869
} // public struct S

0 commit comments

Comments
 (0)