Mercurial > projects > ldc
comparison gen/classes.h @ 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 | |
children | 027b8d8b71ec |
comparison
equal
deleted
inserted
replaced
99:a676a7743642 | 100:5071469303d4 |
---|---|
1 #ifndef LLVMDC_GEN_CLASSES_H | |
2 #define LLVMDC_GEN_CLASSES_H | |
3 | |
4 /** | |
5 * Provides the llvm declaration for a class declaration | |
6 */ | |
7 void DtoDeclareClass(ClassDeclaration* cd); | |
8 | |
9 /** | |
10 * Constructs the constant initializer for a class declaration | |
11 */ | |
12 void DtoConstInitClass(ClassDeclaration* cd); | |
13 | |
14 /** | |
15 * Provides the llvm definition for a class declaration | |
16 */ | |
17 void DtoDefineClass(ClassDeclaration* cd); | |
18 | |
19 void DtoDeclareClassInfo(ClassDeclaration* cd); | |
20 void DtoDefineClassInfo(ClassDeclaration* cd); | |
21 | |
22 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance); | |
23 void DtoInitClass(TypeClass* tc, llvm::Value* dst); | |
24 | |
25 #endif |