mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-03 02:53:13 +01:00
[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user