mirror of
https://github.com/janet-lang/janet
synced 2025-11-23 02:34:49 +00:00
More work on nanbox implementation.
This commit is contained in:
@@ -172,7 +172,7 @@ static void dst_mark_funcdef(DstFuncDef *def) {
|
||||
for (i = 0; i < count; ++i) {
|
||||
DstValue v = def->constants[i];
|
||||
/* Funcdefs use nil literals to store other funcdefs */
|
||||
if (v.type == DST_NIL) {
|
||||
if (dst_checktype(v, DST_NIL)) {
|
||||
dst_mark_funcdef((DstFuncDef *) dst_unwrap_pointer(v));
|
||||
} else {
|
||||
dst_mark(v);
|
||||
|
||||
Reference in New Issue
Block a user