annotate dmd/backend/StringTab.d @ 176:fa9a71a9f5a8

Moved all the mutable globals to Global
author korDen
date Sun, 10 Oct 2010 05:22:45 +0400
parents e28b18c23469
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.StringTab;
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.backend.Symbol;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 struct StringTab
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 Module m; // module we're generating code for
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 Symbol* si;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 void* string_;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 size_t sz;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 size_t len;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 }
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15
176
fa9a71a9f5a8 Moved all the mutable globals to Global
korDen
parents: 114
diff changeset
16 enum STSIZE = 16;