Mercurial > projects > ldc
diff dmd/dsymbol.h @ 100:5071469303d4 trunk
[svn r104] TONS OF FIXES.
Split up declaration, constant initializer gen and definition for globals, structs, classes and functions.
Improved ClassInfo support (not complete), not in vtable yet.
Fixed a bunch of forward reference problems.
Much more. Major commit! :)
author | lindquist |
---|---|
date | Fri, 16 Nov 2007 08:21:47 +0100 |
parents | c53b6e3fe49a |
children | 027b8d8b71ec |
line wrap: on
line diff
--- a/dmd/dsymbol.h Thu Nov 15 00:24:44 2007 +0100 +++ b/dmd/dsymbol.h Fri Nov 16 08:21:47 2007 +0100 @@ -67,6 +67,7 @@ struct DeleteDeclaration; struct HdrGenState; struct TypeInfoDeclaration; +struct ClassInfoDeclaration; #if IN_GCC union tree_node; @@ -212,6 +213,7 @@ virtual SymbolDeclaration *isSymbolDeclaration() { return NULL; } virtual AttribDeclaration *isAttribDeclaration() { return NULL; } virtual TypeInfoDeclaration* isTypeInfoDeclaration() { return NULL; } + virtual ClassInfoDeclaration* isClassInfoDeclaration() { return NULL; } // llvm stuff int llvmInternal; @@ -220,6 +222,8 @@ llvm::Value* llvmValue; Module* llvmDModule; + + bool llvmTouched; }; // Dsymbol that generates a scope