0
|
1 module dmd.backend.Blockx;
|
|
2
|
114
|
3 import dmd.common;
|
0
|
4 import dmd.Module;
|
|
5 import dmd.Declaration;
|
|
6 import dmd.ClassDeclaration;
|
|
7
|
|
8 import dmd.backend.Symbol;
|
|
9 import dmd.backend.block;
|
|
10 import dmd.backend.elem;
|
|
11
|
|
12 alias Symbol Funcsym;
|
|
13
|
|
14 struct Blockx
|
|
15 {
|
|
16 block* startblock;
|
|
17 block* curblock;
|
|
18 Funcsym* funcsym;
|
|
19 Symbol* context; // eh frame context variable
|
|
20 int scope_index; // current scope index
|
|
21 int next_index; // value for next scope index
|
|
22 uint flags; // value to OR into Bflags
|
|
23 block* tryblock; // current enclosing try block
|
|
24 elem* init; // static initializer
|
|
25 ClassDeclaration classdec;
|
|
26 Declaration member; // member we're compiling for
|
|
27 Module module_; // module we're in
|
|
28 } |