Mercurial > projects > ddmd
view dmd/PASS.d @ 165:25ede4f66bda
Temporarily disabled GC (again) because phobos fails to compile with it (looks like some ObjSymbols are being falsely collected, see Library.d:666)
Getting rid of global state (i.e global and static variables) to allow running concurrent compilation
author | korDen |
---|---|
date | Thu, 30 Sep 2010 10:04:32 +0400 |
parents | 903b95002d4e |
children |
line wrap: on
line source
/** * */ module dmd.PASS; /* State of symbol in winding its way through the passes of the compiler */ enum PASS { PASSinit, // initial state PASSsemantic, // semantic() started PASSsemanticdone, // semantic() done PASSsemantic2, // semantic2() run PASSsemantic3, // semantic3() started PASSsemantic3done, // semantic3() done PASSobj, // toObjFile() run } import dmd.EnumUtils; mixin(BringToCurrentScope!(PASS));