@@ -287,18 +287,18 @@ char* GETSTROFF(VAL stroff) {
287287}
288288
289289VAL MKCDATA(VM* vm, CHeapItem * item) {
290+ c_heap_insert_if_needed(vm, &vm->c_heap, item);
290291 Closure* cl = allocate(sizeof(Closure), 0);
291292 SETTY(cl, CDATA);
292293 cl->info.c_heap_item = item;
293− c_heap_insert_if_needed(vm, &vm->c_heap, item);
294294 return cl;
295295}
296296
297297VAL MKCDATAc(VM* vm, CHeapItem * item) {
298+ c_heap_insert_if_needed(vm, &vm->c_heap, item);
298299 Closure* cl = allocate(sizeof(Closure), 1);
299300 SETTY(cl, CDATA);
300301 cl->info.c_heap_item = item;
301− c_heap_insert_if_needed(vm, &vm->c_heap, item);
302302 return cl;
303303}
304304