diff 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
line wrap: on
line diff
--- a/dmd/Global.d	Sun Oct 10 01:55:35 2010 +0400
+++ b/dmd/Global.d	Sun Oct 10 03:47:23 2010 +0400
@@ -98,6 +98,27 @@
 
 	// Used in TemplateMixin
 	int nest;
+	
+	// Used in Type
+	StringTable type_stringtable;
+	
+	ClassDeclaration typeinfo;
+    ClassDeclaration typeinfoclass;
+    ClassDeclaration typeinfointerface;
+    ClassDeclaration typeinfostruct;
+    ClassDeclaration typeinfotypedef;
+    ClassDeclaration typeinfopointer;
+    ClassDeclaration typeinfoarray;
+    ClassDeclaration typeinfostaticarray;
+    ClassDeclaration typeinfoassociativearray;
+    ClassDeclaration typeinfoenum;
+    ClassDeclaration typeinfofunction;
+    ClassDeclaration typeinfodelegate;
+    ClassDeclaration typeinfotypelist;
+    ClassDeclaration typeinfoconst;
+    ClassDeclaration typeinfoinvariant;
+    ClassDeclaration typeinfoshared;
+    ClassDeclaration typeinfowild;
 
 	this()
 	{
@@ -111,6 +132,8 @@
 		modules = new DsymbolTable();
 		amodules = new Array();
 		deferred = new Array();
+		
+		type_stringtable = new StringTable();
 
 		init_time();
 	}