Skip to content

Commit c9a88c7

Browse files
authored
flambda-backend: Port Initial support for value slots not of value kind #946 (#2040)
1 parent 0e87252 commit c9a88c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/caml/mlvalues.h

+1
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ Caml_inline void* Ptr_val(value val)
280280
The remaining bits are the field number for the first word of the
281281
environment, or, in other words, the offset (in words) from the closure
282282
to the environment part. */
283+
/* CR ncourant: it might be cleaner to use a packed struct here */
283284
#ifdef ARCH_SIXTYFOUR
284285
#define Arity_closinfo(info) ((intnat)(info) >> 56)
285286
#define Start_env_closinfo(info) (((uintnat)(info) << 8) >> 9)

0 commit comments

Comments
 (0)