We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc1d15a commit ef161b9Copy full SHA for ef161b9
lambda/lambda.ml
@@ -1440,9 +1440,12 @@ let primitive_result_layout (p : primitive) =
1440
| Paddfloat _ | Psubfloat _ | Pmulfloat _ | Pdivfloat _
1441
| Pbox_float _ -> layout_float
1442
| Punbox_float -> Punboxed_float
1443
- | Pccall _p ->
1444
- (* CR ncourant: use native_repr *)
+ | Pccall { prim_native_repr_res = _, Untagged_int; _} -> layout_int
+ | Pccall { prim_native_repr_res = _, Unboxed_float; _} -> layout_float
1445
+ | Pccall { prim_native_repr_res = _, Same_as_ocaml_repr; _} ->
1446
layout_any_value
1447
+ | Pccall { prim_native_repr_res = _, Unboxed_integer bi; _} ->
1448
+ layout_boxedint bi
1449
| Praise _ -> layout_bottom
1450
| Psequor | Psequand | Pnot
1451
| Pnegint | Paddint | Psubint | Pmulint
0 commit comments