From bfd67eea8f43e28fead155b80e082b1f35ff0e28 Mon Sep 17 00:00:00 2001 From: danyabeerzun Date: Tue, 14 Jan 2020 17:09:48 +0300 Subject: [PATCH] fix closure and sexp copiyng; fix sacn_custom_data; redo heap managing --- runtime/runtime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/runtime.c b/runtime/runtime.c index 7500b5aa1..239912712 100644 --- a/runtime/runtime.c +++ b/runtime/runtime.c @@ -1267,8 +1267,7 @@ extern void gc_test_and_copy_root (size_t ** root) { extern void gc_root_scan_data (void) { size_t * p = &__start_custom_data; - // while (p != &__stop_custom_data) { - while (p < &__stop_custom_data) { // fix bug + while (p < &__stop_custom_data) { gc_test_and_copy_root (p); p++; }