fix(runtime/object): embarrassing bug at del_core
This commit is contained in:
parent
3a252f5b55
commit
1f3de14f9c
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ static inline void free_parray_obj(object * o) {
|
|||
FREE_OBJ(o, sizeof(parray_object) + sizeof(rc_type));
|
||||
}
|
||||
|
||||
static void del_core(object * o, object * todo) {
|
||||
static void del_core(object * o, object * & todo) {
|
||||
lean_assert(is_heap_obj(o));
|
||||
switch (get_kind(o)) {
|
||||
case object_kind::Constructor: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue