comparison dmd/Global.d @ 174:af724d3510d7

lot os toCBuffer methods implemented moved shared Type.* stuff into Global
author korDen
date Sun, 10 Oct 2010 03:47:23 +0400
parents d237b38b5858
children fa9a71a9f5a8
comparison
equal deleted inserted replaced
173:d237b38b5858 174:af724d3510d7
96 // Used in Scope 96 // Used in Scope
97 Scope scope_freelist; 97 Scope scope_freelist;
98 98
99 // Used in TemplateMixin 99 // Used in TemplateMixin
100 int nest; 100 int nest;
101
102 // Used in Type
103 StringTable type_stringtable;
104
105 ClassDeclaration typeinfo;
106 ClassDeclaration typeinfoclass;
107 ClassDeclaration typeinfointerface;
108 ClassDeclaration typeinfostruct;
109 ClassDeclaration typeinfotypedef;
110 ClassDeclaration typeinfopointer;
111 ClassDeclaration typeinfoarray;
112 ClassDeclaration typeinfostaticarray;
113 ClassDeclaration typeinfoassociativearray;
114 ClassDeclaration typeinfoenum;
115 ClassDeclaration typeinfofunction;
116 ClassDeclaration typeinfodelegate;
117 ClassDeclaration typeinfotypelist;
118 ClassDeclaration typeinfoconst;
119 ClassDeclaration typeinfoinvariant;
120 ClassDeclaration typeinfoshared;
121 ClassDeclaration typeinfowild;
101 122
102 this() 123 this()
103 { 124 {
104 params.versionids = new Array(); 125 params.versionids = new Array();
105 params.imppath = new Array(); 126 params.imppath = new Array();
109 stringbuffer = new OutBuffer(); 130 stringbuffer = new OutBuffer();
110 131
111 modules = new DsymbolTable(); 132 modules = new DsymbolTable();
112 amodules = new Array(); 133 amodules = new Array();
113 deferred = new Array(); 134 deferred = new Array();
135
136 type_stringtable = new StringTable();
114 137
115 init_time(); 138 init_time();
116 } 139 }
117 140
118 void initClasssym() 141 void initClasssym()