diff options
author | KC Sivaramakrishnan <kc@kcsrk.info> | 2019-08-02 11:58:09 +0530 |
---|---|---|
committer | KC Sivaramakrishnan <kc@kcsrk.info> | 2019-08-23 09:50:05 +0530 |
commit | 6efd278286d844aea39b3880b38a92cda6d7d259 (patch) | |
tree | 6876dde06a11e9b010717c76f6c138c9d17d22d2 /runtime/intern.c | |
parent | 0d19da48d4c1b828e663054073ae0b8e2c0fcc27 (diff) | |
download | ocaml-6efd278286d844aea39b3880b38a92cda6d7d259.tar.gz |
Remove a level of indirection for accessing minor tables from Caml_state.
Diffstat (limited to 'runtime/intern.c')
-rw-r--r-- | runtime/intern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/intern.c b/runtime/intern.c index dd3b512ffd..9f83cdda9f 100644 --- a/runtime/intern.c +++ b/runtime/intern.c @@ -573,7 +573,7 @@ static void intern_rec(value *dest) if (ops->finalize != NULL && Is_young(v)) { /* Remember that the block has a finalizer. */ - add_to_custom_table (&Caml_state->minor_tables->custom, v, 0, 1); + add_to_custom_table (Caml_state->custom_table, v, 0, 1); } intern_dest += 1 + size; |