Mercurial > projects > ldc
comparison gen/structs.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 | 7816aafeea3c |
comparison
equal
deleted
inserted
replaced
101:169fda3a77d4 | 102:027b8d8b71ec |
---|---|
7 | 7 |
8 llvm::Value* DtoStructZeroInit(llvm::Value* v); | 8 llvm::Value* DtoStructZeroInit(llvm::Value* v); |
9 llvm::Value* DtoStructCopy(llvm::Value* dst, llvm::Value* src); | 9 llvm::Value* DtoStructCopy(llvm::Value* dst, llvm::Value* src); |
10 | 10 |
11 llvm::Constant* DtoConstStructInitializer(StructInitializer* si); | 11 llvm::Constant* DtoConstStructInitializer(StructInitializer* si); |
12 | |
13 /** | |
14 * Resolves the llvm type for a struct | |
15 */ | |
16 void DtoResolveStruct(StructDeclaration* sd); | |
12 | 17 |
13 /** | 18 /** |
14 * Provides the llvm declaration for a struct | 19 * Provides the llvm declaration for a struct |
15 */ | 20 */ |
16 void DtoDeclareStruct(StructDeclaration* sd); | 21 void DtoDeclareStruct(StructDeclaration* sd); |