Christian Kamm
2814c2ab44
Also apply custom allocator size_t change to DMD2 frontend.
2009-01-18 13:18:31 +01:00
Tomas Lindquist Olsen
f090cea4cb
same fix appled to dmd2 frontend
2009-01-10 14:37:48 +01:00
Christian Kamm
9d01659718
Add missing overrides for toConstExp to dmd2/expression.h. Fixes #156 .
2008-12-20 09:15:31 +01:00
Christian Kamm
dff06d0f15
Add Elrood's patch to output LDC and LLVM source revs.
2008-12-14 16:51:36 +01:00
Christian Kamm
6600ef0a86
Automated merge with http://hg.dsource.org/projects/ldc
2008-12-14 16:30:20 +01:00
Christian Kamm
dabe5d3efd
Remove unportable env-sanitizing code. If it is really needed, it needs to be
...
rethought. Closes #131 .
2008-12-14 16:30:06 +01:00
Tomas Lindquist Olsen
9f2497ef77
Runtime now compiles with D2 again. This does NOT mean it works flawlessly !!!
2008-12-14 04:11:32 +01:00
Tomas Lindquist Olsen
b7bea99dbb
Merged DMD 2.021 frontend.
...
Removed generated files from dmd/dmd2 dirs.
2008-12-13 16:14:37 +01:00
Tomas Lindquist Olsen
c14996f39e
Removed insufficient fix for DMD bug 1161, it was causing problems with instantiating imported templates, and passing private variables as aliases. I failed to come up with a proper fix!
2008-12-10 13:56:10 +01:00
Tomas Lindquist Olsen
6997919627
Removed PAGESIZE part of Tango patch, it works for me when the check is removed.
...
Updated Tango patch to latest Tango revision.
2008-12-02 02:45:31 +01:00
Tomas Lindquist Olsen
e5d688834d
Fixed printf formatting flag problem on mingw (missed one)
2008-12-01 19:51:45 +01:00
Tomas Lindquist Olsen
2788a2a0f1
Made ClassInfo.interfaces generation consistent with DMD, fixes #134
...
Removed unneeded includes from dmd/attrib.c
2008-12-01 18:34:02 +01:00
Tomas Lindquist Olsen
cd8f12ed35
Forgot to add AnonDeclaration::toObjFile for D2
2008-12-01 14:54:06 +01:00
Tomas Lindquist Olsen
e0972b0793
Fixed ModuleInfo generation to no longer use the ModuleInfo class' default initializer for types/defaults, it's unsafe as initializers don't necesarily match the "formal" type. There might be explicit padding.
...
Changed -g switch to emit DW_LANG_D debug info, make demangling work with a patched GDB, still more work to do for full support of D's Dwarf extensions.
Added getNullValue helper method.
2008-12-01 02:10:16 +01:00
Tomas Lindquist Olsen
577237e073
Changed some hardcoded offset/alignment for classes in DMD, broke offsets for 64bits.
...
Changed ClassInfo generation to no longer access the default initializer of ClassInfo, fixes problems with index mismatch.
2008-11-30 20:22:09 +01:00
Tomas Lindquist Olsen
f46f865375
Removed KDevelop3 project files, CMake can generate them just fine!
...
Fixed function literals in static initializers.
Changed alignment of delegates from 2*PTRSIZE to just PTRSIZE.
Changed errors to go to stderr instead of stdout.
Fairly major rewriting of struct/union/class handling, STILL A BIT BUGGY !!!
2008-11-29 21:25:43 +01:00
Christian Kamm
910280a3e8
Use LLVM package string for llvm version info in D2 frontend too.
2008-11-26 19:44:06 +01:00
Christian Kamm
b905f290ba
Add missing CMakeList, apply conf changes to dmd2 frontend.
2008-11-24 20:02:59 +01:00
Tomas Lindquist Olsen
41d9e79780
Fixed 64bit problem with aaValues runtime calls (assumed 32bits)
2008-11-16 20:42:45 +01:00
Tomas Lindquist Olsen
5d9854aaff
Fixed 32bit assumption in statement.c when calling aaApply(2).
2008-11-12 07:41:56 +01:00
Tomas Lindquist Olsen
582deb9827
D2 changes!
...
Removed druntime from the repository again.. Sorry :/
Updated the druntime port a bit, now requires druntime from trunk.
Added info in runtime/README on how to get druntime from trunk.
Added patch to add LDC support to druntime.
Removed some debug logging from D2 builds.
Fixed broken typeinfo for const/invariant in D2.
2008-11-12 07:22:05 +01:00
Tomas Lindquist Olsen
c36bd9f4b0
Applied fvbommel's patch from #112
...
Added missing TypeInfoInvariant codegen for D2
2008-11-12 02:30:28 +01:00
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