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