Christian Kamm
b905f290ba
Add missing CMakeList, apply conf changes to dmd2 frontend.
2008-11-24 20:02:59 +01:00
Christian Kamm
375b6cd888
Apply Elrood's CMake changes from #124 . Thanks a lot!
2008-11-24 18:17:58 +01:00
Christian Kamm
0120dd767c
Fix float->bool, #130 . Thanks fvbommel.
2008-11-23 21:57:11 +01:00
Christian Kamm
ed8199384d
hgignore updates for CMake.
2008-11-22 21:11:26 +01:00
Christian Kamm
a08f244733
Don't use StdCall on Windows.
2008-11-22 21:08:00 +01:00
Christian Kamm
70c8174303
Strip test binaries.
2008-11-22 21:06:33 +01:00
Christian Kamm
cb3e057631
Move tuple syntax copy for function arguments after semantic, to make sure
...
->ty contains the final value. Fixes run/t/tuple_20_A again.
2008-11-22 18:45:09 +01:00
Christian Kamm
ac28509bde
Fix return type of OrOr and AndAndExp being set incorrectly if rhs is void. Thanks wilsonk!
2008-11-22 18:38:13 +01:00
Christian Kamm
6efc9a3324
Get rid of DtoBoolean - use DtoCast(... Type::tbool) instead.
...
Fixed some casts to bool that were using truncation.
2008-11-22 18:35:52 +01:00
Christian Kamm
660ca009b9
Include x86-32 fiber fixes in tango patch again.
2008-11-22 13:41:36 +01:00
Tomas Lindquist Olsen
f6c2e59bef
tango patch fix
2008-11-20 17:20:00 +01:00
Tomas Lindquist Olsen
9cad63844f
Updated Tango patch for latest trunk
2008-11-20 17:03:18 +01:00
Tomas Lindquist Olsen
192edc9995
Fixed problem with continue/break in unrolled loop statements.
2008-11-19 14:40:24 +01:00
Christian Kamm
b172c4a668
Fix RawVarDecl double codegen bug. Thanks to downs for the testcase.
2008-11-18 18:07:57 +01:00
Christian Kamm
ccd8810e68
Fix bug reported by downs. Related to delegate types within tuple template parameters.
2008-11-18 17:14:57 +01:00
Tomas Lindquist Olsen
41d9e79780
Fixed 64bit problem with aaValues runtime calls (assumed 32bits)
2008-11-16 20:42:45 +01:00
Christian Kamm
1228595e7e
Cast result of ...AssignExp to type the frontend expects if necessary. Fixes #116 .
2008-11-14 16:26:12 +01:00
Tomas Lindquist Olsen
7b1d4cf975
D2: forgot the main makefile ... :(
2008-11-12 06:35:20 +01:00
Tomas Lindquist Olsen
98ff1c8b54
Updated runtime README a bit.
...
Messed up the druntime patch earlier :/
2008-11-12 06:26:45 +01:00
Tomas Lindquist Olsen
4d982f821d
D2: forgot to revert some changes made for testing last fix...
2008-11-12 05:43:12 +01:00
Tomas Lindquist Olsen
d077bbc5e6
D2: Fixed global constants not initialized until module constructor.
2008-11-12 05:40:31 +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
32f99e7091
Forgot D2 versioning on typeinfo change.
2008-11-12 07:23:34 +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
Christian Kamm
fae4b56ec3
Fix up hgignore to not match to much.
2008-11-11 22:57:19 +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
90474ba1c3
Seems like hg ignores .di files, so I missed a bunch of stuff. complete druntime should be there now :)
2008-11-12 00:19:18 +01:00
Tomas Lindquist Olsen
d56f952a84
Added copy of druntime from DMD 2.020 modified for LDC.
2008-11-11 01:52:37 +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
Christian Kamm
fe49ee6448
Special case DtoCastInt for bool.
2008-11-10 20:55:24 +01:00
Christian Kamm
bc80a83666
Merge wilsonk's x86-64 inline assembly.
2008-11-08 22:29:19 +01:00
Christian Kamm
d41bcb5312
Merge in most of x86-64 tango patch.
2008-11-08 11:34:35 +01:00
Christian Kamm
10289513be
Update tango patch to latest tango revision.
2008-11-08 10:22:08 +01:00
Christian Kamm
c0bf614e31
Switch to Elrood's rewritten CMakeLists.txt.
2008-11-05 16:53:03 +01:00
Christian Kamm
ca6b37cd38
Enable function parameter debug info for a wider range of args.
2008-11-03 15:23:22 +01:00
Christian Kamm
16b38a7fef
Fix compile-time warnings. Adjust include in d-asm-i386.
2008-11-03 12:35:29 +01:00
Christian Kamm
9688b4c9a7
Improve CMake build file.
2008-11-03 12:25:25 +01:00
Christian Kamm
9e370d7612
Add basic CMake build file.
2008-11-02 21:47:31 +01:00
Christian Kamm
437aa0d4aa
Fix bug in array_cast_len. Makes tango.text.Regex work.
2008-11-02 18:36:28 +01:00
Tomas Lindquist Olsen
173639bdec
Added DtoRawVarDeclaration routine to handle special variables in some statements.
2008-11-01 18:25:10 +01:00
Christian Kamm
51385239e8
asm4 fix.
2008-11-01 17:56:25 +01:00
Christian Kamm
5b17d36ce2
Tried using DtoDeclarationExp for VarDecls in Statements to fix nesting issues
...
(see bug #104 ), but a separate helper that doesn't initialize would be nicer.
2008-11-01 16:48:17 +01:00
Christian Kamm
ba754255d9
Fix minitest breakage from the x86-64 patch.
2008-11-01 14:41:57 +01:00
Christian Kamm
9fcc2d85a2
Add test for accessing foreachval in nested func. Reason for #104 .
2008-10-31 18:17:28 +01:00
Christian Kamm
d3f190822c
Fix REALSIZE, REALPAD and alignment of double and real for x86-64.
2008-10-30 15:58:58 +01:00
Christian Kamm
891d17e4b5
Applied easy part from wilsonk's x86-64 patch in #107
2008-10-30 11:08:34 +01:00
Christian Kamm
e625829f0f
Automated merge with http://hg.dsource.org/projects/ldc
2008-10-30 10:17:05 +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
0e5d9f970b
Add explicit uint->char cast to get rid of warning.
2008-10-30 10:15:42 +01:00
Tomas Lindquist Olsen
6cf5ca6aba
Removed warnings on ignored aligns. Only do aligment on packed structs, align(1) struct Packed { ... }
...
Changed the way struct/class fields are added, first small part of cleaning up these...
Make struct/class/union fields aware of any anonymous struct/union they might be part of, not yet really useful, but part of getting better union support.
2008-10-28 15:41:09 +01:00