Mercurial > projects > ddmd
view dmd/backend/Blockx.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 | e28b18c23469 |
children |
line wrap: on
line source
module dmd.backend.Blockx; import dmd.common; import dmd.Module; import dmd.Declaration; import dmd.ClassDeclaration; import dmd.backend.Symbol; import dmd.backend.block; import dmd.backend.elem; alias Symbol Funcsym; struct Blockx { block* startblock; block* curblock; Funcsym* funcsym; Symbol* context; // eh frame context variable int scope_index; // current scope index int next_index; // value for next scope index uint flags; // value to OR into Bflags block* tryblock; // current enclosing try block elem* init; // static initializer ClassDeclaration classdec; Declaration member; // member we're compiling for Module module_; // module we're in }