diff options
Diffstat (limited to 'byterun/memory.c')
-rw-r--r-- | byterun/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/memory.c b/byterun/memory.c index 4d9d3c9b4..1955d91b1 100644 --- a/byterun/memory.c +++ b/byterun/memory.c @@ -296,7 +296,7 @@ void adjust_gc_speed (mlsize_t mem, mlsize_t max) void initialize (value *fp, value val) { *fp = val; - if (Is_in_heap (fp) && Is_block (val) && Is_young (val)){ + if (Is_block (val) && Is_young (val) && Is_in_heap (fp)){ *ref_table_ptr++ = fp; if (ref_table_ptr >= ref_table_limit){ realloc_ref_table (); |