From ba551dabe14cb37936f3c15410bf92ee8adb2e62 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 16 May 2019 15:10:13 +0200 Subject: [PATCH] :art: Clean object --- src/lib/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/object.c b/src/lib/object.c index 71be400d..d82a68c0 100644 --- a/src/lib/object.c +++ b/src/lib/object.c @@ -15,7 +15,7 @@ #include "operator.h" ANN void exception(const VM_Shred shred, const m_str c) { - gw_err("%s: shred[id=%" UINT_F ":%s], PC=[%" UINT_F "]", + gw_err("%s: shred[id=%" UINT_F ":%s], PC=[%" UINT_F "]\n", c, shred->tick->xid, shred->info->name, shred->pc - 1); vm_shred_exit(shred); } @@ -55,7 +55,7 @@ ANN static void handle_dtor(const M_Object o, const VM_Shred shred) { __attribute__((hot)) ANN void __release(const M_Object o, const VM_Shred shred) { - MemPool p = shred->info->mp;// = shred->info->vm->gwion->mp; + MemPool p = shred->info->mp; Type t = o->type_ref; while(t->e->parent) { struct scope_iter iter = { t->nspc->info->value, 0, 0 };\ -- 2.43.0