@@ -30,18 +30,18 @@ public class M {
30
30
31
31
// CHECK-LABEL: sil [ossa] @$s3del1MC4fromAcA12WithDelegate_p_tKcfc : $@convention(method) (@in WithDelegate, @owned M) -> (@owned M, @error Error)
32
32
33
- // CHECK: [[I:%.*]] = integer_literal $Builtin.Int2, 1, loc {{.*}}:20:12, scope 5
34
- // CHECK: [[V:%.*]] = load [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 5
35
- // CHECK: [[OR:%.*]] = builtin "or_Int2"([[V]] : $Builtin.Int2, [[I]] : $Builtin.Int2) : $Builtin.Int2, loc {{.*}}:20:12, scope 5
36
- // CHECK: store [[OR]] to [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 5
37
- // CHECK: store %{{.*}} to [init] %{{.*}} : $*C, loc {{.*}}:23:20, scope 5
33
+ // CHECK: [[I:%.*]] = integer_literal $Builtin.Int2, 1, loc {{.*}}:20:12, scope 6
34
+ // CHECK: [[V:%.*]] = load [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 6
35
+ // CHECK: [[OR:%.*]] = builtin "or_Int2"([[V]] : $Builtin.Int2, [[I]] : $Builtin.Int2) : $Builtin.Int2, loc {{.*}}:20:12, scope 6
36
+ // CHECK: store [[OR]] to [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 6
37
+ // CHECK: store %{{.*}} to [init] %{{.*}} : $*C, loc {{.*}}:23:20, scope 6
38
38
39
39
// Make sure the dealloc_stack gets the same scope of the instructions surrounding it.
40
40
41
- // CHECK: destroy_addr %0 : $*WithDelegate, loc {{.*}}:26:5, scope 5
42
- // CHECK-NEXT: dealloc_stack %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 5
41
+ // CHECK: destroy_addr %0 : $*WithDelegate, loc {{.*}}:26:5, scope 6
42
+ // CHECK-NEXT: dealloc_stack %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 6
43
43
44
- // CHECK: destroy_addr %0 : $*WithDelegate, loc {{.*}}:26:5, scope 5
45
- // CHECK-NEXT: dealloc_stack %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 5
46
- // CHECK-NEXT: throw %{{.*}} : $Error, loc {{.*}}:26:5, scope 5
44
+ // CHECK: destroy_addr %0 : $*WithDelegate, loc {{.*}}:26:5, scope 6
45
+ // CHECK-NEXT: dealloc_stack %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 6
46
+ // CHECK-NEXT: throw %{{.*}} : $Error, loc {{.*}}:26:5, scope 6
47
47
// CHECK: end sil function '$s3del1MC4fromAcA12WithDelegate_p_tKcfc'
0 commit comments