Mercurial > projects > ldc
comparison dmd/aggregate.h @ 72:d7e764e62462 trunk
[svn r76] Fixed: TypeInfo for structs.
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
author | lindquist |
---|---|
date | Mon, 29 Oct 2007 03:28:12 +0100 |
parents | 28e99b04a132 |
children | b706170e24a9 |
comparison
equal
deleted
inserted
replaced
71:53d3086b5ad3 | 72:d7e764e62462 |
---|---|
96 Symbol *sinit; | 96 Symbol *sinit; |
97 Symbol *toInitializer(); | 97 Symbol *toInitializer(); |
98 | 98 |
99 bool llvmInProgress; | 99 bool llvmInProgress; |
100 llvm::Type* llvmType; | 100 llvm::Type* llvmType; |
101 llvm::Value* llvmVtbl; | 101 llvm::Constant* llvmVtbl; |
102 llvm::ConstantStruct* llvmConstVtbl; | 102 llvm::ConstantStruct* llvmConstVtbl; |
103 llvm::Constant* llvmInitZ; | 103 llvm::Constant* llvmInitZ; |
104 virtual void offsetToIndex(Type* t, unsigned os, std::vector<unsigned>& result); // converts a DMD field offsets to LLVM struct index vector | 104 virtual void offsetToIndex(Type* t, unsigned os, std::vector<unsigned>& result); // converts a DMD field offsets to LLVM struct index vector |
105 | 105 |
106 AggregateDeclaration *isAggregateDeclaration() { return this; } | 106 AggregateDeclaration *isAggregateDeclaration() { return this; } |