@@ -179,13 +179,13 @@ class OverridableGetter : ReadableTitle {
179179 var title : String = " "
180180}
181181// The read witness thunk does a direct call to the concrete read accessor.
182- // CHECK-LABEL: sil private [transparent] [thunk] [ossa] @$s19coroutine_accessors17OverridableGetterCAA13ReadableTitleA2aDP5titleSSvrTW
183- // CHECK: function_ref @$s19coroutine_accessors17OverridableGetterC5titleSSvr
184- // CHECK-LABEL: // end sil function '$s19coroutine_accessors17OverridableGetterCAA13ReadableTitleA2aDP5titleSSvrTW '
182+ // CHECK-LABEL: sil private [transparent] [thunk] [ossa] @$s19coroutine_accessors17OverridableGetterCAA13ReadableTitleA2aDP5titleSSvyTW
183+ // CHECK: function_ref @$s19coroutine_accessors17OverridableGetterC5titleSSvy
184+ // CHECK-LABEL: // end sil function '$s19coroutine_accessors17OverridableGetterCAA13ReadableTitleA2aDP5titleSSvyTW '
185185// The concrete read accessor is generated on-demand and does a class dispatch to the getter.
186- // CHECK-LABEL: sil shared [ossa] @$s19coroutine_accessors17OverridableGetterC5titleSSvr
186+ // CHECK-LABEL: sil shared [ossa] @$s19coroutine_accessors17OverridableGetterC5titleSSvy
187187// CHECK: class_method %0 : $OverridableGetter, #OverridableGetter.title!getter
188- // CHECK-LABEL: // end sil function '$s19coroutine_accessors17OverridableGetterC5titleSSvr '
188+ // CHECK-LABEL: // end sil function '$s19coroutine_accessors17OverridableGetterC5titleSSvy '
189189
190190class ImplementedReader : ReadableTitle {
191191 var _title : String = " "
@@ -214,10 +214,11 @@ protocol GettableTitle {
214214// CHECK: bb0(
215215// CHECK-SAME: [[SELF:%[^,]+]] :
216216// CHECK-SAME: ):
217- // CHECK: [[READER:%[^,]+]] = class_method [[SELF]] : $OverridableReader, #OverridableReader.title!read
218- // CHECK: ([[TITLE:%[^,]+]], [[TOKEN:%[^,]+]]) = begin_apply [[READER]]([[SELF]])
217+ // CHECK: [[READER:%[^,]+]] = class_method [[SELF]] : $OverridableReader, #OverridableReader.title!read2
218+ // CHECK: ([[TITLE:%[^,]+]], [[TOKEN:%[^,]+]], [[ALLOCATION:%[^,]]] ) = begin_apply [[READER]]([[SELF]])
219219// CHECK: [[RETVAL:%[^,]+]] = copy_value [[TITLE]]
220220// CHECK: end_apply [[TOKEN]] as $()
221+ // CHECK: dealloc_stack [[ALLOCATION]]
221222// CHECK: return [[RETVAL]]
222223// CHECK-LABEL: } // end sil function '$s19coroutine_accessors17OverridableReaderC5titleSSvg'
223224
0 commit comments