Mercurial > projects > ldc
annotate gen/functions.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 | 56a21f3e5d3e |
rev | line source |
---|---|
100 | 1 #ifndef LLVMDC_GEN_FUNCTIONS_H |
2 #define LLVMDC_GEN_FUNCTIONS_H | |
3 | |
4 const llvm::FunctionType* DtoFunctionType(Type* t, const llvm::Type* thistype, bool ismain = false); | |
5 const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl); | |
6 | |
102
027b8d8b71ec
[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up.
lindquist
parents:
100
diff
changeset
|
7 void DtoResolveFunction(FuncDeclaration* fdecl); |
100 | 8 void DtoDeclareFunction(FuncDeclaration* fdecl); |
9 void DtoDefineFunc(FuncDeclaration* fd); | |
10 | |
11 void DtoMain(); | |
12 | |
13 #endif |