File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -198,10 +198,10 @@ bb0(%0 : $*T, %1 : $*GenericRefStruct<T>):
198
198
// RefStruct.init(inputVal:)
199
199
// CHECK-LABEL: sil hidden [ossa] @$assign_or_init_init_indirect
200
200
// CHECK: [[INITIAL_VAL:%.*]] = copy_value {{%.*}} : $SomeClass
201
+ // CHECK: [[SELF_REF:%.*]] = begin_access [modify] [unknown] {{%.*}} : $*RefStruct
201
202
// CHECK: [[INIT_REF:%.*]] = function_ref @$s4main9RefStructV7wrappedAA9SomeClassCvpfF : $@convention(thin) (@owned SomeClass, @thin RefStruct.Type) -> @out Wrapper<SomeClass>
202
203
// CHECK: [[INIT_PAI:%.*]] = partial_apply [callee_guaranteed] [[INIT_REF]]({{%.*}})
203
- // CHECK: [[SELF_REF:%.*]] = begin_access [modify] [dynamic] {{%.*}} : $*RefStruct
204
- // CHECK-NEXT: [[FIELD_REF:%.*]] = struct_element_addr [[SELF_REF]] : $*RefStruct, #RefStruct._wrapped
204
+ // CHECK: [[FIELD_REF:%.*]] = struct_element_addr [[SELF_REF]] : $*RefStruct, #RefStruct._wrapped
205
205
// CHECK-NEXT: {{%.*}} = apply [[INIT_PAI]]([[FIELD_REF]], [[INITIAL_VAL]]) : $@callee_guaranteed (@owned SomeClass) -> @out Wrapper<SomeClass>
206
206
sil hidden [ossa] @$assign_or_init_init_indirect : $@convention(method) (@owned SomeClass, @thin RefStruct.Type) -> @owned RefStruct {
207
207
bb0(%0 : @owned $SomeClass, %1 : $@thin RefStruct.Type):
You can’t perform that action at this time.
0 commit comments