Skip to content

Commit

Permalink
flambda-backend: Add comment about structured constants for mixed blo…
Browse files Browse the repository at this point in the history
…cks (#2692)

Update ocaml/lambda/translcore.ml
  • Loading branch information
ncik-roberts authored Jul 15, 2024
1 parent 85ac6b6 commit b98d6a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lambda/translcore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ and transl_exp0 ~in_new_scope ~scopes sort e =
let shape = transl_mixed_product_shape shape in
Some (Const_mixed_block(runtime_tag, shape, constants))
else
(* CR layouts v5.9: Structured constants for mixed blocks should
be supported in bytecode. See symtable.ml for the difficulty.
*)
None
| Constructor_uniform_value ->
Some (Const_block(runtime_tag, constants)))
Expand Down

0 comments on commit b98d6a1

Please sign in to comment.