fix closure GC handling when closure is only half-formed
This commit is contained in:
parent
503485b5a4
commit
240d95ada6
|
@ -10,6 +10,8 @@
|
|||
if (data) {
|
||||
/* GLOBAL ASSUMPTION: prefix is at the end of a closure */
|
||||
Scheme_Prefix *pf = (Scheme_Prefix *)c->vals[closure_size - 1];
|
||||
|
||||
if (pf) {
|
||||
/* Since pf hasn't been marked, we don't need a GC_resolve(): */
|
||||
int *use_bits = PREFIX_TO_USE_BITS(pf);
|
||||
uintptr_t map;
|
||||
|
@ -62,3 +64,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user