Mercurial > projects > ldc
diff gen/tollvm.h @ 988:2667e3a145be
- Fixed LLVM style CL args for D2.
- Moved main() into its own file gen/main.cpp
- Fixed basic cross compilation
- removed the option for setting OS
- added support for llc's mattr, mcpu and mtriple switches
- added basic ABI abstraction for return value rewrites, it's not perfect and will probably be completely rewritten once I get to handling parameter rewrites as well.
- x86-64 extern(C) abi for cfloat returns now match (llvm-)gcc.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 26 Feb 2009 14:11:49 +0100 |
parents | 03d7c4aac654 |
children | 3d4581761b4c |
line wrap: on
line diff
--- a/gen/tollvm.h Wed Feb 25 19:30:06 2009 +0100 +++ b/gen/tollvm.h Thu Feb 26 14:11:49 2009 +0100 @@ -18,9 +18,7 @@ // returns true is the type must be passed by pointer bool DtoIsPassedByRef(Type* type); -// returns if the type should be returned in a hidden pointer arguement -bool DtoIsReturnedInArg(Type* type); - +// should argument be zero or sign extended unsigned DtoShouldExtend(Type* type); // tuple helper