annotate dmd/backend/Blockx.d @ 114:e28b18c23469

added a module dmd.common for commonly used stuff it currently holds code for consistency checking of predefined versions also added a VisualD project file
author Trass3r
date Wed, 01 Sep 2010 18:21:58 +0200
parents 10317f0c89a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.backend.Blockx;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
114
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
3 import dmd.common;
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.Module;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 import dmd.Declaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 import dmd.ClassDeclaration;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 import dmd.backend.Symbol;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 import dmd.backend.block;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 import dmd.backend.elem;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 alias Symbol Funcsym;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 struct Blockx
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
16 block* startblock;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
17 block* curblock;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
18 Funcsym* funcsym;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
19 Symbol* context; // eh frame context variable
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
20 int scope_index; // current scope index
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21 int next_index; // value for next scope index
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
22 uint flags; // value to OR into Bflags
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
23 block* tryblock; // current enclosing try block
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
24 elem* init; // static initializer
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
25 ClassDeclaration classdec;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
26 Declaration member; // member we're compiling for
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
27 Module module_; // module we're in
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
28 }