File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import Builtin
44
44
45
45
sil @putchar : $@convention(c) (Builtin.Int64) -> ()
46
46
47
- sil @target_func : $@convention(thin) () -> () {
47
+ sil [serialized] @target_func : $@convention(thin) () -> () {
48
48
bb0:
49
49
%0 = function_ref @putchar : $@convention(c) (Builtin.Int64) -> ()
50
50
// "swift\n" in ASCII
64
64
return %9999 : $()
65
65
}
66
66
67
- sil @function_2 : $@convention(thin) () -> () {
67
+ sil [serialized] @function_2 : $@convention(thin) () -> () {
68
68
bb0:
69
69
%0 = function_ref @target_func : $@convention(thin) () -> ()
70
70
apply %0() : $@convention(thin) () -> ()
76
76
return %9999 : $()
77
77
}
78
78
79
- sil @function_3 : $@convention(thin) () -> () {
79
+ sil [serialized] @function_3 : $@convention(thin) () -> () {
80
80
bb0:
81
81
// Make sure we only eliminate one.
82
82
%0 = function_ref @target_func : $@convention(thin) () -> ()
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import Builtin
41
41
42
42
sil @putchar : $@convention(c) (Builtin.Int64) -> ()
43
43
44
- sil @target_func : $@convention(thin) () -> () {
44
+ sil [serialized] @target_func : $@convention(thin) () -> () {
45
45
bb0:
46
46
%0 = function_ref @putchar : $@convention(c) (Builtin.Int64) -> ()
47
47
// "swift\n" in ASCII
61
61
return %9999 : $()
62
62
}
63
63
64
- sil @function_2 : $@convention(thin) () -> () {
64
+ sil [serialized] @function_2 : $@convention(thin) () -> () {
65
65
bb0:
66
66
%0 = function_ref @target_func : $@convention(thin) () -> ()
67
67
apply %0() : $@convention(thin) () -> ()
73
73
return %9999 : $()
74
74
}
75
75
76
- sil @function_3 : $@convention(thin) () -> () {
76
+ sil [serialized] @function_3 : $@convention(thin) () -> () {
77
77
bb0:
78
78
// Make sure we only eliminate one.
79
79
%0 = function_ref @target_func : $@convention(thin) () -> ()
You can’t perform that action at this time.
0 commit comments