* src/mm/cacao-gc/gc.h [__M68K__]: Added this architecture.
* src/mm/cacao-gc/heap.c (heap_alloc_intern): Removed debug code.
--HG--
branch : exact-gc
# error "GC does only work with replacement enabled!"
#endif
-#if 1 && !defined(__ALPHA__) && !defined(__I386__) && !defined(__POWERPC__) && !defined(__X86_64__)
+#if 1 && !defined(__ALPHA__) && !defined(__I386__) && !defined(__POWERPC__) && !defined(__X86_64__) && !defined(__M68K__)
# error "GC was only ported to i386 so far!"
#endif
/* unlock the region */
LOCK_MONITOR_EXIT(region);
- GC_LOG( region = NULL; );
/* clear allocated memory region */
GC_ASSERT(p);
found = rp;
}
- assert(found->pc + found->callsize >= pc);
+ assert(found == NULL || found->pc + found->callsize >= pc);
return found;
}