Mercurial > projects > ldc
view ir/ir.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 | eef8ac26c66c |
children | dbe4af57b240 |
line wrap: on
line source
// this head contains stuff used by all the IR #ifndef LDC_IR_IR_H #define LDC_IR_IR_H #include "ir/irforw.h" #include "root.h" struct IrBase : Object { virtual ~IrBase() {} }; #endif