Tomas Lindquist Olsen
c4c1c1d72e
Added initial D2 support, D2 frontend and changes to codegen to make things compile.
2008-11-11 01:38:48 +01:00
Christian Kamm
36a98404ae
Fix accidental double-inreg caused by shared TupleType. Enabled inreg by default.
2008-10-30 10:16:37 +01:00
Christian Kamm
d3bb0b74bd
Enable arg reversal on x86 by default. Make change to TypeInfo_Struct.compare to accomodate for it.
2008-10-26 21:16:21 +01:00
Christian Kamm
b8bd953dcf
Change default to not using inreg.
2008-10-26 14:11:14 +01:00
Tomas Lindquist Olsen
80e29f86e4
Disabled parameter reversing by default, it broke mini/typeinfo10.d
...
Fixed 'inreg' property placement for functions with reversed parameters.
Made parameter reversal and inreg passing of first arg configurable in premake.lua
2008-10-25 18:12:07 +02:00
Tomas Lindquist Olsen
9d2853f7be
Changed premake script to write target triple to a file, then read that, instead of using popen
2008-10-20 23:33:59 +02:00
Tomas Lindquist Olsen
202c4f7bc2
Changed premake.lua to work with mingw.
...
Implemented array operations, not perfect but ok for tonight. closes #89
2008-10-13 23:19:32 +02:00
Tomas Lindquist Olsen
f15b115ee9
Started changing target triple stuff, part of fixing #97
2008-10-13 17:28:39 +02:00
Christian Kamm
7b20402e0b
Add basics for direct assembly output.
2008-10-11 11:07:53 +02:00
Christian Kamm
6eeeafdba6
First part of rename to LDC.
2008-10-06 22:46:55 +02:00
Christian Kamm
88f9ca75ad
Don't link in any target code, was unnecessary.
2008-09-07 16:16:10 +02:00
Christian Kamm
640f21c493
Only link default native backend by default.
...
Use the new option --add-backend to link in additional targets.
2008-09-07 15:30:34 +02:00
Tomas Lindquist Olsen
f3b3db7fa9
Changed all '#if linux || __APPLE__' to '#if POSIX' so we can support other platforms too, thanx for the suggestion anders.
2008-09-02 23:10:12 +02:00
Christian Kamm
abee68ea54
Disable boehm gc by default. Use --enable-boehm-gc on premake to enable.
2008-08-24 18:25:34 +02:00
Tomas Lindquist Olsen
efd3f0dddf
[svn r387] Removed unused MD5 stuff.
...
Fixed incorrect __VENDOR__ variable and printed DMD frontend version.
2008-07-15 02:01:53 +02:00
Tomas Lindquist Olsen
832504e5d7
[svn r357] Merged DMD 1.033
2008-07-12 19:38:31 +02:00
Tomas Lindquist Olsen
599f879149
[svn r316] Fixed array slice assignments like: int[] arr = ...; arr[] = 42;
...
There was problems with most non basic types...
Added an option to premake so we can do: premake --target gnu --no-boehm
to disable the Boehm GC.
2008-06-23 14:48:42 +02:00
Tomas Lindquist Olsen
5647598da9
[svn r306] Fixed: it's now possible to compile and link llvmdc with MinGW32 and msys on Win32 :D I tried it myself ;) Building the runtime still needs some work, but it's a step in the right direction.
2008-06-21 03:14:49 +02:00
Tomas Lindquist Olsen
e1aa043a81
[svn r289] Fixed: right shift >> was broken for unsigned types.
...
Fixed: debug info for classes now started.
2008-06-15 18:52:27 +02:00
Tomas Lindquist Olsen
6ededdd9e3
[svn r253] Removed -inlineasm option. inline asm is now enabled by default unless the new -noasm option is passed.
...
Tried adding a stack trace print when compiler crashes, not sure it's working though.
Changed data layouts to match that of llvm-gcc.
Fixed casting function pointers.
Added support checks in AsmStatement.
2008-06-08 19:09:24 +02:00
Tomas Lindquist Olsen
9f3be435b0
[svn r209] Fixed: exotic array to pointer casts were broken.
...
Changed: classes now have opaque vtables.
2008-05-12 18:44:11 +02:00
Tomas Lindquist Olsen
5652546986
[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
2008-01-17 03:15:12 +01:00
Tomas Lindquist Olsen
bc08c6fcb1
[svn r135] * Merged DMD 1.025 *
...
* Fixed a minor linking order mishap *
* Added an command line option -annotate *
* Fixed some problems with running optimizations *
* Added std.stdio and dependencies to lphobos (still not 100% working, but compiles and links) *
* Fixed problems with passing aggregate types to variadic functions *
* Added initial code towards full GC support, currently based on malloc and friends, not all the runtime calls the GC yet for memory *
* Fixed problems with resolving nested function context pointers for some heavily nested cases *
* Redid function argument passing + other minor code cleanups, still lots to do on this end... *
2008-01-04 01:38:42 +01:00
Tomas Lindquist Olsen
5ab2166b05
[svn r129] Started AA literals.
...
Fixed #15 , passing -O will now invoke the optimizer before writing bitcode.
2007-11-28 04:52:35 +01:00
Tomas Lindquist Olsen
48492229ec
[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!!
...
Lots of bugfixes.
Added support for special foreach on strings.
Added std.array, std.utf, std.ctype and std.uni to phobos.
Changed all the .c files in the gen dir to .cpp (it *is* C++ after all)
2007-11-03 14:44:58 +01:00
Tomas Lindquist Olsen
e251fc42b2
[svn r39] * Updated to DMD 1.022 with the exception of:
...
Bugzilla 278: dmd.conf search path doesn't work
This fix was causing crashes for me :/ So for it's the old behaviour
2007-10-09 06:21:30 +02:00
Tomas Lindquist Olsen
fcbcd83d8b
[svn r8] changed backend includes to always use the gen/<foo>.h prefix
...
fixed passing string literals as array parameters
few other fixes
moved some array routines into gen/arrays
2007-09-03 17:34:30 +02:00
Tomas Lindquist Olsen
34699bbb07
[svn r5] Initial commit. Most things are very rough.
2007-09-01 21:43:27 +02:00