Skip to content

Commit b98d6a1

Browse files
authored
flambda-backend: Add comment about structured constants for mixed blocks (#2692)
Update ocaml/lambda/translcore.ml
1 parent 85ac6b6 commit b98d6a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lambda/translcore.ml

+3
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,9 @@ and transl_exp0 ~in_new_scope ~scopes sort e =
542542
let shape = transl_mixed_product_shape shape in
543543
Some (Const_mixed_block(runtime_tag, shape, constants))
544544
else
545+
(* CR layouts v5.9: Structured constants for mixed blocks should
546+
be supported in bytecode. See symtable.ml for the difficulty.
547+
*)
545548
None
546549
| Constructor_uniform_value ->
547550
Some (Const_block(runtime_tag, constants)))

0 commit comments

Comments
 (0)