@@ -19,13 +19,13 @@ let mkTexp_ident ?id:(ident_kind, uu = (Id_value, shared_many_use))
19
19
type nonrec apply_arg = apply_arg
20
20
21
21
type texp_apply_identifier =
22
- apply_position * Locality .l * Zero_alloc_utils.Assume_info .t
22
+ apply_position * Locality .l * Builtin_attributes .zero_alloc_attribute
23
23
24
24
let mkTexp_apply
25
25
?id :(pos, mode, za =
26
26
( Default ,
27
27
Locality. disallow_right Locality. legacy,
28
- Zero_alloc_utils.Assume_info. none )) (exp, args) =
28
+ Builtin_attributes. Default_zero_alloc )) (exp, args) =
29
29
let args =
30
30
List. map (fun (label , x ) -> (Typetexp. transl_label label None , x)) args
31
31
in
@@ -92,7 +92,7 @@ type texp_function_identifier = {
92
92
ret_sort : Jkind .sort ;
93
93
region : bool ;
94
94
ret_mode : Alloc .l ;
95
- zero_alloc : Builtin_attributes .zero_alloc_attribute ;
95
+ zero_alloc : Zero_alloc .t ;
96
96
}
97
97
98
98
let texp_function_cases_identifier_defaults =
@@ -119,7 +119,7 @@ let texp_function_defaults =
119
119
ret_sort = Jkind.Sort. value;
120
120
ret_mode = Alloc. disallow_right Alloc. legacy;
121
121
region = false ;
122
- zero_alloc = Builtin_attributes. Default_zero_alloc ;
122
+ zero_alloc = Zero_alloc. default ;
123
123
}
124
124
125
125
let mkTexp_function ?(id = texp_function_defaults)
@@ -402,7 +402,7 @@ let mk_value_description ~val_type ~val_kind ~val_attributes =
402
402
val_loc = Location. none;
403
403
val_attributes;
404
404
val_uid = Uid. internal_not_actually_unique;
405
- val_zero_alloc = Default_zero_alloc ;
405
+ val_zero_alloc = Zero_alloc. default ;
406
406
}
407
407
408
408
let mkTtyp_any = Ttyp_var (None , None )
0 commit comments