diff gen/aa.cpp @ 156:ccd07d9f2ce9 trunk

[svn r172] moving all IR state previously stored in Dsymbol into IrDsymbol and a Dsymbol->IrDsymbol map
author ChristianK
date Thu, 01 May 2008 13:05:53 +0200
parents 0e28624814e8
children a8cd9bc1021a
line wrap: on
line diff
--- a/gen/aa.cpp	Tue Apr 29 21:33:50 2008 +0200
+++ b/gen/aa.cpp	Thu May 01 13:05:53 2008 +0200
@@ -58,8 +58,8 @@
     assert(tid);
     DtoResolveDsymbol(Type::typeinfo);
     DtoForceDeclareDsymbol(tid);
-    assert(tid->irGlobal->value);
-    return tid->irGlobal->value;
+    assert(gIR->irDsymbol[tid].irGlobal->value);
+    return gIR->irDsymbol[tid].irGlobal->value;
 }
 
 /////////////////////////////////////////////////////////////////////////////////////