Skip to content

Commit 1bec5a3

Browse files
committed
Fixup test
1 parent 5687473 commit 1bec5a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/SILGen/init_actor_isolation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func f(isolatedTo actor: isolated (any Actor)?) async -> Int { 0 }
88
actor A {
99
let number: Int
1010

11-
// CHECK-LABEL: sil hidden [available 10.15] [ossa] @$s4test1ACACyYacfc : $@convention(method) @async (@sil_isolated @owned A) -> @owned A
11+
// CHECK-LABEL: sil hidden{{.*}}[ossa] @$s4test1ACACyYacfc : $@convention(method) @async (@sil_isolated @owned A) -> @owned A
1212
init() async {
1313
// First use of #isolation.
1414
// CHECK: [[ISOLATION_1:%.*]] = builtin "flowSensitiveSelfIsolation"<A>

test/SILOptimizer/definite_init_flow_sensitive_actor_self.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func f(isolatedTo actor: isolated (any Actor)?) async -> Int { 0 }
88
actor A {
99
let number: Int
1010

11-
// CHECK-LABEL: sil hidden [available 10.15] @$s4test1ACACyYacfc : $@convention(method) @async (@sil_isolated @owned A) -> @owned A
11+
// CHECK-LABEL: sil hidden{{.*}}@$s4test1ACACyYacfc : $@convention(method) @async (@sil_isolated @owned A) -> @owned A
1212
init() async {
1313
// First use of #isolation, which is replaced by 'nil'.
1414
// CHECK: [[ISOLATION_1:%.*]] = enum $Optional<any Actor>, #Optional.none!enumelt

0 commit comments

Comments
 (0)