Skip to content

Commit 87dada0

Browse files
committed
Fix chamelon
1 parent fff9520 commit 87dada0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

chamelon/compat.jst.ml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ let mkTexp_ident ?id:(ident_kind, uu = (Id_value, shared_many_use))
1919
type nonrec apply_arg = apply_arg
2020

2121
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
2323

2424
let mkTexp_apply
2525
?id:(pos, mode, za =
2626
( Default,
2727
Locality.disallow_right Locality.legacy,
28-
Zero_alloc_utils.Assume_info.none )) (exp, args) =
28+
Builtin_attributes.Default_zero_alloc )) (exp, args) =
2929
let args =
3030
List.map (fun (label, x) -> (Typetexp.transl_label label None, x)) args
3131
in
@@ -92,7 +92,7 @@ type texp_function_identifier = {
9292
ret_sort : Jkind.sort;
9393
region : bool;
9494
ret_mode : Alloc.l;
95-
zero_alloc : Builtin_attributes.zero_alloc_attribute;
95+
zero_alloc : Zero_alloc.t;
9696
}
9797

9898
let texp_function_cases_identifier_defaults =
@@ -119,7 +119,7 @@ let texp_function_defaults =
119119
ret_sort = Jkind.Sort.value;
120120
ret_mode = Alloc.disallow_right Alloc.legacy;
121121
region = false;
122-
zero_alloc = Builtin_attributes.Default_zero_alloc;
122+
zero_alloc = Zero_alloc.default;
123123
}
124124

125125
let mkTexp_function ?(id = texp_function_defaults)
@@ -402,7 +402,7 @@ let mk_value_description ~val_type ~val_kind ~val_attributes =
402402
val_loc = Location.none;
403403
val_attributes;
404404
val_uid = Uid.internal_not_actually_unique;
405-
val_zero_alloc = Default_zero_alloc;
405+
val_zero_alloc = Zero_alloc.default;
406406
}
407407

408408
let mkTtyp_any = Ttyp_var (None, None)

0 commit comments

Comments
 (0)