Mercurial > projects > ldc
annotate gen/functions.h @ 215:a58d8f4b84df trunk
[svn r231] Changed: warnings are no longer treated as an error.
Added some comments and cleaned up CallExp::toElem a tiny bit.
Fixed: struct literals always reported inplace assignment even if they allocated a temporary.
Fixed: passing stuff to a D-style vararg which did inplace assignment was generated suboptimal code.
author | lindquist |
---|---|
date | Tue, 03 Jun 2008 13:51:09 +0200 |
parents | 7816aafeea3c |
children | 9760f54af0b7 |
rev | line source |
---|---|
100 | 1 #ifndef LLVMDC_GEN_FUNCTIONS_H |
2 #define LLVMDC_GEN_FUNCTIONS_H | |
3 | |
213
7816aafeea3c
[svn r229] Updated the object.d implementation to the latest Tango.
lindquist
parents:
131
diff
changeset
|
4 const llvm::FunctionType* DtoFunctionType(Type* t, const LLType* thistype, bool ismain = false); |
100 | 5 const llvm::FunctionType* DtoFunctionType(FuncDeclaration* fdecl); |
6 | |
117 | 7 const llvm::FunctionType* DtoBaseFunctionType(FuncDeclaration* fdecl); |
8 | |
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
|
9 void DtoResolveFunction(FuncDeclaration* fdecl); |
100 | 10 void DtoDeclareFunction(FuncDeclaration* fdecl); |
11 void DtoDefineFunc(FuncDeclaration* fd); | |
12 | |
131 | 13 DValue* DtoArgument(Argument* fnarg, Expression* argexp); |
213
7816aafeea3c
[svn r229] Updated the object.d implementation to the latest Tango.
lindquist
parents:
131
diff
changeset
|
14 void DtoVariadicArgument(Expression* argexp, LLValue* dst); |
131 | 15 |
100 | 16 void DtoMain(); |
17 | |
18 #endif |