diff gen/irstate.h @ 98:6789050b5ad1 trunk

[svn r102] Further delayed emission of function bodies to avoid problems with circular-forward-references. Now uses the DMD _adEq(void[], void[], TypeInfo) runtime function for array equality comparison.
author lindquist
date Wed, 14 Nov 2007 23:39:10 +0100
parents 61615fa85940
children 5071469303d4
line wrap: on
line diff
--- a/gen/irstate.h	Wed Nov 14 20:18:01 2007 +0100
+++ b/gen/irstate.h	Wed Nov 14 23:39:10 2007 +0100
@@ -162,6 +162,10 @@
 
     // builder helper
     IRBuilderHelper ir;
+
+    // functions queued for lazy definition
+    typedef std::vector<FuncDeclaration*> FuncDeclVector;
+    FuncDeclVector funcQueue;
 };
 
 #endif // LLVMDC_GEN_IRSTATE_H