[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.
This commit is contained in:
Tomas Lindquist Olsen
2007-10-29 03:28:12 +01:00
parent 848ecbed0d
commit 4230f2ef11
12 changed files with 367 additions and 204 deletions

View File

@@ -98,7 +98,7 @@ struct AggregateDeclaration : ScopeDsymbol
bool llvmInProgress;
llvm::Type* llvmType;
llvm::Value* llvmVtbl;
llvm::Constant* llvmVtbl;
llvm::ConstantStruct* llvmConstVtbl;
llvm::Constant* llvmInitZ;
virtual void offsetToIndex(Type* t, unsigned os, std::vector<unsigned>& result); // converts a DMD field offsets to LLVM struct index vector

View File

@@ -540,7 +540,7 @@ struct TypeStruct : Type
type *toCtype();
llvm::Value* llvmInit;
llvm::Constant* llvmInit;
};
struct TypeEnum : Type
@@ -638,7 +638,7 @@ struct TypeClass : Type
Symbol *toSymbol();
llvm::Value* llvmInit;
llvm::Constant* llvmInit;
};
struct TypeTuple : Type