Remove GC_no_dls for now. This can be safely set if all static variables used to store pointers are id or are explicitly marked __strong, which is not (yet) the case in GNUstep.

main
theraven 15 years ago
parent 851328268c
commit 1c847cedd1

@ -606,7 +606,6 @@ static void nuke_buffer(void *addr, void *s)
void* objc_gc_allocate_collectable(size_t size, BOOL isScanned) void* objc_gc_allocate_collectable(size_t size, BOOL isScanned)
{ {
size += 12;
void *buffer; void *buffer;
if (isScanned) if (isScanned)
{ {
@ -672,7 +671,7 @@ static void runFinalizers(void)
PRIVATE void init_gc(void) PRIVATE void init_gc(void)
{ {
GC_no_dls = 1; //GC_no_dls = 1;
GC_enable_incremental(); GC_enable_incremental();
GC_INIT(); GC_INIT();
char *envValue; char *envValue;

Loading…
Cancel
Save