mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-17 21:33:13 +01:00
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...
14 lines
396 B
C
14 lines
396 B
C
#ifndef LLVMDC_GEN_FUNCTIONS_H
|
|
#define LLVMDC_GEN_FUNCTIONS_H
|
|
|
|
const llvm::FunctionType* DtoFunctionType(Type* t, const llvm::Type* thistype, bool ismain = false);
|
|
const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl);
|
|
|
|
void DtoResolveFunction(FuncDeclaration* fdecl);
|
|
void DtoDeclareFunction(FuncDeclaration* fdecl);
|
|
void DtoDefineFunc(FuncDeclaration* fd);
|
|
|
|
void DtoMain();
|
|
|
|
#endif
|