pic->irep is a root marker
This commit is contained in:
parent
11e4f1644b
commit
42c097a91f
|
@ -316,6 +316,9 @@ codegen(codegen_state *state, pic_value obj, bool tailpos)
|
|||
irep->code[irep->clen].u.i = k;
|
||||
irep->clen++;
|
||||
|
||||
/* prevent GC from hanging */
|
||||
pic->irep[k] = NULL;
|
||||
|
||||
pic->irep[k] = codegen_lambda(state, obj);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue