Mercurial > projects > ldc
comparison dmd/aggregate.h @ 102:027b8d8b71ec trunk
[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up.
Basically it tries to do the following in order: Resolve types, Declare symbols, Create constant initializers, Apply initializers, Generate functions bodies.
ClassInfo is now has the most useful(biased?) members working.
Probably other stuf...
author | lindquist |
---|---|
date | Sun, 18 Nov 2007 06:52:57 +0100 |
parents | 5071469303d4 |
children | 9c79b61fb638 |
comparison
equal
deleted
inserted
replaced
101:169fda3a77d4 | 102:027b8d8b71ec |
---|---|
108 llvm::GlobalVariable* llvmClass; | 108 llvm::GlobalVariable* llvmClass; |
109 llvm::Constant* llvmClassZ; | 109 llvm::Constant* llvmClassZ; |
110 bool llvmHasUnions; | 110 bool llvmHasUnions; |
111 DUnion* llvmUnion; | 111 DUnion* llvmUnion; |
112 IRStruct* llvmIRStruct; | 112 IRStruct* llvmIRStruct; |
113 bool llvmClassDeclared; | |
114 bool llvmClassDefined; | |
113 | 115 |
114 AggregateDeclaration *isAggregateDeclaration() { return this; } | 116 AggregateDeclaration *isAggregateDeclaration() { return this; } |
115 }; | 117 }; |
116 | 118 |
117 struct AnonymousAggregateDeclaration : AggregateDeclaration | 119 struct AnonymousAggregateDeclaration : AggregateDeclaration |