Skip to content

Commit 3d377fb

Browse files
committed
Update resilient_assign_by_wrapper test for subst function types
1 parent b5c1502 commit 3d377fb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/SILGen/resilient_assign_by_wrapper.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ extension ReabstractedSetter where T == Int {
6262
// CHECK: [[TH_F:%.*]] = thin_to_thick_function [[F]] : $@convention(thin) (Int) -> () to $@callee_guaranteed (Int) -> ()
6363
// CHECK: [[THUNK_REF:%.*]] = function_ref @$sSiIegy_SiIegn_TR : $@convention(thin) (@in_guaranteed Int, @guaranteed @callee_guaranteed (Int) -> ()) -> ()
6464
// CHECK: [[CF:%.*]] = partial_apply [callee_guaranteed] [[THUNK_REF]]([[TH_F]]) : $@convention(thin) (@in_guaranteed Int, @guaranteed @callee_guaranteed (Int) -> ()) -> ()
65-
// CHECK: assign_by_wrapper [[CF]] : $@callee_guaranteed (@in_guaranteed Int) -> ()
65+
// CHECK: [[CF2:%.*]] = convert_function [[CF]]
66+
// CHECK: assign_by_wrapper [[CF2]]
6667
// CHECK-SAME: to {{%.*}} : $*WrapGod<(Int) -> ()>
67-
// CHECK-SAME: init {{%.*}} : $@callee_guaranteed (@owned @callee_guaranteed (@in_guaranteed Int) -> ()) -> @out WrapGod<(Int) -> ()>
68-
// CHECK-SAME: set {{%.*}} : $@callee_guaranteed (@owned @callee_guaranteed (@in_guaranteed Int) -> ()) -> ()
6968
self.value = { x in }
7069
}
7170
}

0 commit comments

Comments
 (0)