comparison tango/lib/gc/basic/gc.d @ 305:2b72433d5c8c trunk

[svn r326] Fixed a bunch of issues with printf's that MinGW32 did not support. Fixed problems with label collisions when using labels inside inline asm. LabelStatement is now easily reached given its Identifier, which should be useful elsewhere too. Enabled inline asm for building the lib/compiler/llvmdc runtime code, fixing branches out of asm makes this possible.
author lindquist
date Fri, 27 Jun 2008 22:04:35 +0200
parents 88252a1af660
children
comparison
equal deleted inserted replaced
304:3ebc136702dd 305:2b72433d5c8c
68 // more. 68 // more.
69 // 69 //
70 // NOTE: Due to popular demand, this has been re-enabled. It still has 70 // NOTE: Due to popular demand, this has been re-enabled. It still has
71 // the problems mentioned above though, so I guess we'll see. 71 // the problems mentioned above though, so I guess we'll see.
72 72
73 // FIXME: LLVMDC crashes ... 73 _gc.fullCollectNoStack(); // not really a 'collect all' -- still scans
74 //_gc.fullCollectNoStack(); // not really a 'collect all' -- still scans
75 // static data area, roots, and ranges. 74 // static data area, roots, and ranges.
76 _gc.Dtor(); 75 _gc.Dtor();
77 } 76 }
78 77
79 extern (C) void gc_enable() 78 extern (C) void gc_enable()