Skip to content

Commit f2e66ec

Browse files
committed
fix: gc_root_set_headの初期化
1 parent 14e0571 commit f2e66ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎microcontroller/core/src/c-runtime.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ void gc_initialize() {
442442
heap_memory[1] = 2; // the size of the reserved space (first two words).
443443
heap_memory[2] = HEAP_SIZE;
444444
heap_memory[3] = HEAP_SIZE - 2;
445+
gc_root_set_head = NULL;
445446
#ifdef LINUX64
446447
initialize_pointer_table();
447448
#endif

0 commit comments

Comments
 (0)