|
|
@@ -438,7 +438,6 @@ var b: i32 = a.({.index = 2}.index);
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: constants {
|
|
|
// CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete]
|
|
|
-// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete]
|
|
|
// CHECK:STDOUT: %N: Core.IntLiteral = symbolic_binding N, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete]
|
|
|
// CHECK:STDOUT: %tuple.type.a1c: type = tuple_type (%i32) [concrete]
|
|
|
@@ -455,11 +454,6 @@ var b: i32 = a.({.index = 2}.index);
|
|
|
// CHECK:STDOUT: %Copy.facet: %Copy.type = facet_value %i32, (%Copy.impl_witness.fb7) [concrete]
|
|
|
// CHECK:STDOUT: %.65f: type = fn_type_with_self_type %Copy.Op.type, %Copy.facet [concrete]
|
|
|
// CHECK:STDOUT: %Int.as.Copy.impl.Op.specific_fn: <specific function> = specific_function %Int.as.Copy.impl.Op.dfd, @Int.as.Copy.impl.Op(%int_32) [concrete]
|
|
|
-// CHECK:STDOUT: %type_where: type = facet_type <type where .Self impls <CanDestroy>> [concrete]
|
|
|
-// CHECK:STDOUT: %facet_value: %type_where = facet_value %tuple.type.a1c, () [concrete]
|
|
|
-// CHECK:STDOUT: %DestroyT.binding.as_type.as.Destroy.impl.Op.type.49b: type = fn_type @DestroyT.binding.as_type.as.Destroy.impl.Op, @DestroyT.binding.as_type.as.Destroy.impl(%facet_value) [concrete]
|
|
|
-// CHECK:STDOUT: %DestroyT.binding.as_type.as.Destroy.impl.Op.c36: %DestroyT.binding.as_type.as.Destroy.impl.Op.type.49b = struct_value () [concrete]
|
|
|
-// CHECK:STDOUT: %ptr.0b7: type = ptr_type %tuple.type.a1c [concrete]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
@@ -472,20 +466,14 @@ var b: i32 = a.({.index = 2}.index);
|
|
|
// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
|
|
|
// CHECK:STDOUT: %F.call: init %tuple.type.a1c = call %F.ref()
|
|
|
// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6]
|
|
|
-// CHECK:STDOUT: %.loc7_12.1: ref %tuple.type.a1c = temporary_storage
|
|
|
-// CHECK:STDOUT: %.loc7_12.2: ref %tuple.type.a1c = temporary %.loc7_12.1, %F.call
|
|
|
-// CHECK:STDOUT: %tuple.elem0: ref %i32 = tuple_access %.loc7_12.2, element0
|
|
|
-// CHECK:STDOUT: %.loc7_13: %i32 = acquire_value %tuple.elem0
|
|
|
+// CHECK:STDOUT: %.loc7_12.1: %tuple.type.a1c = value_of_initializer %F.call
|
|
|
+// CHECK:STDOUT: %.loc7_12.2: %tuple.type.a1c = converted %F.call, %.loc7_12.1
|
|
|
+// CHECK:STDOUT: %tuple.elem0: %i32 = tuple_access %.loc7_12.2, element0
|
|
|
// CHECK:STDOUT: %impl.elem0: %.65f = impl_witness_access constants.%Copy.impl_witness.fb7, element0 [concrete = constants.%Int.as.Copy.impl.Op.dfd]
|
|
|
-// CHECK:STDOUT: %bound_method.loc7_13.1: <bound method> = bound_method %.loc7_13, %impl.elem0
|
|
|
+// CHECK:STDOUT: %bound_method.loc7_13.1: <bound method> = bound_method %tuple.elem0, %impl.elem0
|
|
|
// CHECK:STDOUT: %specific_fn: <specific function> = specific_function %impl.elem0, @Int.as.Copy.impl.Op(constants.%int_32) [concrete = constants.%Int.as.Copy.impl.Op.specific_fn]
|
|
|
-// CHECK:STDOUT: %bound_method.loc7_13.2: <bound method> = bound_method %.loc7_13, %specific_fn
|
|
|
-// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_13.2(%.loc7_13)
|
|
|
-// CHECK:STDOUT: %DestroyT.binding.as_type.as.Destroy.impl.Op.bound: <bound method> = bound_method %.loc7_12.2, constants.%DestroyT.binding.as_type.as.Destroy.impl.Op.c36
|
|
|
-// CHECK:STDOUT: <elided>
|
|
|
-// CHECK:STDOUT: %bound_method.loc7_12: <bound method> = bound_method %.loc7_12.2, %DestroyT.binding.as_type.as.Destroy.impl.Op.specific_fn
|
|
|
-// CHECK:STDOUT: %addr: %ptr.0b7 = addr_of %.loc7_12.2
|
|
|
-// CHECK:STDOUT: %DestroyT.binding.as_type.as.Destroy.impl.Op.call: init %empty_tuple.type = call %bound_method.loc7_12(%addr)
|
|
|
+// CHECK:STDOUT: %bound_method.loc7_13.2: <bound method> = bound_method %tuple.elem0, %specific_fn
|
|
|
+// CHECK:STDOUT: %Int.as.Copy.impl.Op.call: init %i32 = call %bound_method.loc7_13.2(%tuple.elem0)
|
|
|
// CHECK:STDOUT: return %Int.as.Copy.impl.Op.call to %return
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|