arena doesn't have to be explicitly initialized
This commit is contained in:
parent
a6f561d66e
commit
f0541e0f6b
|
@ -31,7 +31,6 @@ pic_open()
|
||||||
init_heap_page(pic->heap);
|
init_heap_page(pic->heap);
|
||||||
|
|
||||||
/* GC arena */
|
/* GC arena */
|
||||||
pic->arena = (struct pic_object *)calloc(PIC_ARENA_SIZE, sizeof(struct pic_object *));
|
|
||||||
pic->arena_idx = 0;
|
pic->arena_idx = 0;
|
||||||
|
|
||||||
pic->global_env = pic_new_empty_env();
|
pic->global_env = pic_new_empty_env();
|
||||||
|
|
Loading…
Reference in New Issue