summaryrefslogtreecommitdiff
path: root/runtime/array.c
diff options
context:
space:
mode:
authorKC Sivaramakrishnan <kc@kcsrk.info>2019-08-02 11:58:09 +0530
committerKC Sivaramakrishnan <kc@kcsrk.info>2019-08-23 09:50:05 +0530
commit6efd278286d844aea39b3880b38a92cda6d7d259 (patch)
tree6876dde06a11e9b010717c76f6c138c9d17d22d2 /runtime/array.c
parent0d19da48d4c1b828e663054073ae0b8e2c0fcc27 (diff)
downloadocaml-6efd278286d844aea39b3880b38a92cda6d7d259.tar.gz
Remove a level of indirection for accessing minor tables from Caml_state.
Diffstat (limited to 'runtime/array.c')
-rw-r--r--runtime/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/array.c b/runtime/array.c
index 44180da9fa..e43b5613b0 100644
--- a/runtime/array.c
+++ b/runtime/array.c
@@ -626,7 +626,7 @@ CAMLprim value caml_array_fill(value array,
if (caml_gc_phase == Phase_mark) caml_darken(old, NULL);
}
if (is_val_young_block)
- add_to_ref_table (&Caml_state->minor_tables->ref, fp);
+ add_to_ref_table (Caml_state->ref_table, fp);
}
if (is_val_young_block) caml_check_urgent_gc (Val_unit);
}