Mercurial > projects > ldc
comparison dmd/struct.c @ 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 | 058d3925950e |
children | 027b8d8b71ec |
comparison
equal
deleted
inserted
replaced
99:a676a7743642 | 100:5071469303d4 |
---|---|
43 | 43 |
44 stag = NULL; | 44 stag = NULL; |
45 sinit = NULL; | 45 sinit = NULL; |
46 scope = NULL; | 46 scope = NULL; |
47 | 47 |
48 llvmType = NULL; | |
49 llvmVtbl = NULL; | 48 llvmVtbl = NULL; |
50 llvmConstVtbl = NULL; | 49 llvmConstVtbl = NULL; |
51 llvmInitZ = NULL; | 50 llvmInitZ = NULL; |
51 llvmClass = NULL; | |
52 llvmClassZ = NULL; | |
52 llvmInProgress = false; | 53 llvmInProgress = false; |
53 llvmHasUnions = false; | 54 llvmHasUnions = false; |
54 llvmUnion = NULL; | 55 llvmUnion = NULL; |
56 llvmIRStruct = NULL; | |
55 } | 57 } |
56 | 58 |
57 enum PROT AggregateDeclaration::prot() | 59 enum PROT AggregateDeclaration::prot() |
58 { | 60 { |
59 return protection; | 61 return protection; |