no need to control arena_index in pic_codegen
This commit is contained in:
parent
7ae15246fa
commit
aeff650ccf
|
@ -150,7 +150,6 @@ pic_expand(pic_state *pic, pic_value obj)
|
|||
{
|
||||
struct syntactic_env env;
|
||||
pic_value v;
|
||||
int ai = pic_gc_arena_preserve(pic);
|
||||
|
||||
env.tbl = pic->global_tbl;
|
||||
|
||||
|
@ -162,9 +161,6 @@ pic_expand(pic_state *pic, pic_value obj)
|
|||
|
||||
v = expand(pic, obj, &env);
|
||||
|
||||
pic_gc_arena_restore(pic, ai);
|
||||
pic_gc_protect(pic, v);
|
||||
|
||||
#if DEBUG
|
||||
puts("after expand:");
|
||||
pic_debug(pic, v);
|
||||
|
|
Loading…
Reference in New Issue