@@ -30,14 +30,14 @@ 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 4
34
- // CHECK: [[V:%.*]] = load [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 4
35
- // CHECK: [[OR:%.*]] = builtin "or_Int2"([[V]] : $Builtin.Int2, [[I]] : $Builtin.Int2) : $Builtin.Int2, loc {{.*}}:20:12, scope 4
36
- // CHECK: store [[OR]] to [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 4
37
- // CHECK: store %{{.*}} to [init] %{{.*}} : $*C, loc {{.*}}:23:20, scope 4
33
+ // CHECK: [[I:%.*]] = integer_literal $Builtin.Int2, 1, loc {{.*}}:20:12, scope 3
34
+ // CHECK: [[V:%.*]] = load [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 3
35
+ // CHECK: [[OR:%.*]] = builtin "or_Int2"([[V]] : $Builtin.Int2, [[I]] : $Builtin.Int2) : $Builtin.Int2, loc {{.*}}:20:12, scope 3
36
+ // CHECK: store [[OR]] to [trivial] %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 3
37
+ // CHECK: store %{{.*}} to [init] %{{.*}} : $*C, loc {{.*}}:23:20, scope 3
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 4
42
- // CHECK: dealloc_stack %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 4
43
- // CHECK: throw %{{.*}} : $Error, loc {{.*}}:20:12, scope 4
41
+ // CHECK: destroy_addr %0 : $*WithDelegate, loc {{.*}}:26:5, scope 3
42
+ // CHECK: dealloc_stack %2 : $*Builtin.Int2, loc {{.*}}:20:12, scope 3
43
+ // CHECK: throw %{{.*}} : $Error, loc {{.*}}:20:12, scope 1
0 commit comments