@@ -240,7 +240,7 @@ func testPreservedResultBridged() throws -> Int {
240
240
241
241
// CHECK-LABEL: sil hidden @_TF14foreign_errors26testPreservedResultBridgedFzT_Si
242
242
// CHECK: [[T0:%.*]] = metatype $@thick ErrorProne.Type
243
- // CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.ounceWord!1.foreign : (ErrorProne.Type) -> () throws -> Int , $@convention(objc_method) (ImplicitlyUnwrappedOptional <AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int
243
+ // CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.ounceWord!1.foreign : (ErrorProne.Type) -> () throws -> Int , $@convention(objc_method) (Optional <AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int
244
244
// CHECK: [[OPTERR:%.*]] = alloc_stack $Optional<NSError>
245
245
// CHECK: [[RESULT:%.*]] = apply [[T1]](
246
246
// CHECK: [[T0:%.*]] = struct_extract [[RESULT]]
@@ -258,7 +258,7 @@ func testPreservedResultInverted() throws {
258
258
259
259
// CHECK-LABEL: sil hidden @_TF14foreign_errors27testPreservedResultInvertedFzT_T_
260
260
// CHECK: [[T0:%.*]] = metatype $@thick ErrorProne.Type
261
- // CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.once!1.foreign : (ErrorProne.Type) -> () throws -> () , $@convention(objc_method) (ImplicitlyUnwrappedOptional <AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int32
261
+ // CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.once!1.foreign : (ErrorProne.Type) -> () throws -> () , $@convention(objc_method) (Optional <AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int32
262
262
// CHECK: [[OPTERR:%.*]] = alloc_stack $Optional<NSError>
263
263
// CHECK: [[RESULT:%.*]] = apply [[T1]](
264
264
// CHECK: [[T0:%.*]] = struct_extract [[RESULT]]
0 commit comments