Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
riaqn committed Nov 17, 2023
1 parent 1ec72dd commit 9cc5a59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocaml/runtime/caml/mlvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ Caml_inline void* Ptr_val(value val)
The remaining bits are the field number for the first word of the
environment, or, in other words, the offset (in words) from the closure
to the environment part. */
/* CR ncourant: it might be cleaner to use a packed struct here */
#ifdef ARCH_SIXTYFOUR
#define Arity_closinfo(info) ((intnat)(info) >> 56)
#define Start_env_closinfo(info) (((uintnat)(info) << 8) >> 9)
Expand Down

0 comments on commit 9cc5a59

Please sign in to comment.