@@ -608,28 +608,28 @@ bb0:
608
608
}
609
609
610
610
sil @call_closure : $@convention(method) (@noescape @callee_guaranteed () -> ()) -> ()
611
- sil @closure : $@convention(thin) (@inout_aliasable Int ) -> ()
611
+ sil @closure : $@convention(thin) (@inout_aliasable Int64 ) -> ()
612
612
613
613
// CHECK-LABEL: Address escape information for test_closure_capturing_address:
614
- // CHECK: value: %0 = alloc_stack $Int
614
+ // CHECK: value: %0 = alloc_stack $Int64
615
615
// CHECK-NEXT: ==> %7 = apply %6(%4) : $@convention(method) (@noescape @callee_guaranteed () -> ()) -> ()
616
616
// CHECK: End function test_closure_capturing_address
617
- sil @test_closure_capturing_address : $@convention(thin) () -> Int {
617
+ sil @test_closure_capturing_address : $@convention(thin) () -> Int64 {
618
618
bb0:
619
- %0 = alloc_stack $Int
619
+ %0 = alloc_stack $Int64
620
620
%1 = integer_literal $Builtin.Int64, 0
621
- %2 = struct $Int (%1 : $Builtin.Int64)
621
+ %2 = struct $Int64 (%1 : $Builtin.Int64)
622
622
623
- %3 = function_ref @closure : $@convention(thin) (@inout_aliasable Int ) -> ()
624
- %4 = partial_apply [callee_guaranteed] [on_stack] %3(%0) : $@convention(thin) (@inout_aliasable Int ) -> ()
625
- store %2 to %0 : $*Int
623
+ %3 = function_ref @closure : $@convention(thin) (@inout_aliasable Int64 ) -> ()
624
+ %4 = partial_apply [callee_guaranteed] [on_stack] %3(%0) : $@convention(thin) (@inout_aliasable Int64 ) -> ()
625
+ store %2 to %0 : $*Int64
626
626
627
627
%6 = function_ref @call_closure : $@convention(method) (@noescape @callee_guaranteed () -> ()) -> ()
628
628
%7 = apply %6(%4) : $@convention(method) (@noescape @callee_guaranteed () -> ()) -> ()
629
629
dealloc_stack %4 : $@noescape @callee_guaranteed () -> ()
630
- fix_lifetime %0 : $*Int
631
- %9 = load %0 : $*Int
632
- dealloc_stack %0 : $*Int
633
- return %9 : $Int
630
+ fix_lifetime %0 : $*Int64
631
+ %9 = load %0 : $*Int64
632
+ dealloc_stack %0 : $*Int64
633
+ return %9 : $Int64
634
634
}
635
635
0 commit comments