Mercurial > projects > ddmd
comparison dmd/backend/StringTab.d @ 0:10317f0c89a5
Initial commit
author | korDen |
---|---|
date | Sat, 24 Oct 2009 08:42:06 +0400 |
parents | |
children | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:10317f0c89a5 |
---|---|
1 module dmd.backend.StringTab; | |
2 | |
3 import dmd.Module; | |
4 import dmd.backend.Symbol; | |
5 | |
6 struct StringTab | |
7 { | |
8 Module m; // module we're generating code for | |
9 Symbol* si; | |
10 void* string_; | |
11 size_t sz; | |
12 size_t len; | |
13 } | |
14 | |
15 enum STSIZE = 16; | |
16 __gshared StringTab[STSIZE] stringTab; | |
17 __gshared size_t stidx; |