224 Commits

Author SHA1 Message Date
Christian Kamm
2a999b72e8 Fix VarDecls for tuples. Closes #99.
I've implemented it this way since it doesn't require any changes in the
frontend. However, I think having TypeTuple expressed as LLVM struct types
would make much more sense and open the door to tuple lvalues.
2008-10-05 11:47:47 +02:00
Christian Kamm
8113935dea Made Fibers work with LLVMDC on x86 Posix. 2008-10-03 00:42:17 +02:00
Tomas Lindquist Olsen
d0c5df393c Applied the FreeBSD patch from Ralith, closes ticket #95 , slightly changed but basically the same. Thanx Ralith :) 2008-10-02 03:25:46 +02:00
Tomas Lindquist Olsen
efab6b8f2a added test case for last commit (taking delegate of nested function of current function) 2008-10-02 01:38:00 +02:00
Tomas Lindquist Olsen
7b18b7a633 Implemented constant pointer casts (like casting function pointer to void* as a constant global initializer) 2008-09-28 21:09:21 +02:00
Tomas Lindquist Olsen
4280a86bcf Fixed .funcptr property of delegates, no longer uses the infamous DMD rewrites to pointer arithmetic, instead a GEPExp has been introduced. 2008-09-15 02:04:26 +02:00
Christian Kamm
eaa4ebd7aa Add broken .funcptr test. 2008-09-14 22:04:13 +02:00
Tomas Lindquist Olsen
bba1994b05 Fixed a few mini tests issues.
Added 'darwin' and 'Posix' as versions user can't set.
Fixed #80 .
2008-09-11 21:10:15 +02:00
Tomas Lindquist Olsen
8e9b957bce Complex number should now follow the D ABI on x86. They're also treated as first class values now. Big change. 2008-09-09 16:49:47 -07:00
Christian Kamm
dde98f16f9 Add test for GC scanning data segment. 2008-09-04 17:59:01 +02:00
Tomas Lindquist Olsen
3a8125b7c8 Pointer comparisons were being treated as signed integers. Now they are handled as unsigned integers. 2008-09-04 17:24:10 +02:00
Christian Kamm
7b07ddcbd8 Fix findregressions and makewebstatistics to adhere to our definition of
Improvement and Regression.
2008-08-28 08:37:47 +02:00
Tomas Lindquist Olsen
5bf3e8911a Added support for overloaded intrinsics.
Added atomic intrinsics in the intrinsics.di header.
2008-08-20 01:02:22 +02:00
Tomas Lindquist Olsen
3346a78e71 First step towards D abi compliance.
Framepointer elimination is now disabled for functions using inline asm (with a hack from aKor).
2008-08-19 20:18:01 +02:00
Christian Kamm
6c117e4301 Get rid of module declaration for one of the tests I added. Would confuse mini test runner. 2008-08-15 23:15:21 +02:00
Christian Kamm
d375735f55 Add test case for broken delegates. Also still needs fixing! 2008-08-15 23:13:55 +02:00
Christian Kamm
b74cd47016 Add minitest for broken empty template tuple parameters. Fix this one! 2008-08-15 23:11:59 +02:00
Christian Kamm
c31d07e23f Reverted bad change [506]. Added test case for remaining bug. 2008-08-13 23:54:09 +02:00
Tomas Lindquist Olsen
aae027961c merge 2008-08-13 15:43:34 +02:00
Christian Kamm
3e064bdb19 Change web statistics layout, thanks anders! 2008-08-12 18:33:34 +02:00
Tomas Lindquist Olsen
85a122a53f missed one phobos test 2008-08-12 00:56:09 +02:00
Tomas Lindquist Olsen
bec4e850e4 fixed some failing minitests (badly classified / phobos) 2008-08-12 00:54:32 +02:00
Tomas Lindquist Olsen
43567aca3b Fixed a critical bug in the runtime, where _d_allocmemoryT would mark
the memory block as having pointers (for scanning) opposite of what it
should. So pointers would not be seen and freed. Should fix a bunch of
regressions with AAs.
2008-08-10 17:28:01 +02:00
Tomas Lindquist Olsen
9d7f16b967 Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in.
Reimplemented support for nested functions/class using a new approach.
Added error on taking address of intrinsic.
Fixed problems with the ->syntaxCopy of TypeFunction delegate exp.
Removed DtoDType and replaced all uses with ->toBasetype() instead.
Removed unused inplace stuff.
Fixed a bunch of issues in the runtime unittests, not complete yet.
Added mini tests.
2008-08-10 08:37:38 +02:00
Tomas Lindquist Olsen
7988ecb8be added testcase for taking address of function as constant expr. 2008-08-04 03:40:08 +02:00
Tomas Lindquist Olsen
daad516579 Removed the 'needsstorage' thing from Dsymbol. Arguments are not always given storage when applicable. This is not longer treat specially
in this regard. Code for accessing nested variables and contexts rewritten. Probably more. Fairly well tested.
2008-08-04 02:59:34 +02:00
Tomas Lindquist Olsen
b0a5f554d6 Fixed problem in AssignExp where the result value might be uninitialized. see mini/assign1.d 2008-08-03 16:59:28 +02:00
Tomas Lindquist Olsen
996c197aa8 stupid merges 2008-08-03 16:16:16 +02:00
Tomas Lindquist Olsen
0640b52d3e Added a mini test case for nested stuff 2008-08-03 16:11:38 +02:00
Christian Kamm
90693b23b1 Use path separator to make minitests work on windows. 2008-08-03 14:03:15 +02:00
Tomas Lindquist Olsen
e31070a437 Fixed problems with nested 'this'. Fixes #39 .
Fixed problem with debug info order of intrinsic calls (func.start after declare).
2008-08-02 00:50:39 +02:00
Tomas Lindquist Olsen
9b45fc5533 Changed the handling of variadic intrinsics a bit.
Removed the -fp80 option and made real be 80bit floats on X86, this is what the D spec really says it should be and fixes a bunch of issues.
Changed the handling of parameter attributes to a bit more generalized approach.
Added sext/zext attributes for byte/short/ubyte/ushort parameters, fixes #60 .
Parameter attribs now properly set for intrinsic calls if necessary.
Made the tango.math.Math patch less intrusive.
Fixed/added some mini tests.
2008-08-01 17:59:58 +02:00
Tomas Lindquist Olsen
07cfb67178 Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Reworked the LLVMDC specific pragmas.
2008-08-01 00:32:06 +02:00
Tomas Lindquist Olsen
660290f640 stupid merge ... :/ 2008-07-30 10:41:31 +02:00
Tomas Lindquist Olsen
713dfe71b5 clean out obj dir before running mini test. 2008-07-28 07:25:13 +02:00
Tomas Lindquist Olsen
675e9b3cf0 testing the new mini test runner features. 2008-07-28 03:04:28 +02:00
Tomas Lindquist Olsen
57fd67aa35 Updated the mini test runner to allow classified tests as
compile,nocompile,run,norun.
2008-07-28 03:03:44 +02:00
Christian Kamm
9a9e47957b Remove -O0 from command line for compiling tests. 2008-07-23 20:19:58 +02:00
Christian Kamm
c26f33f0bf .hgignore updates. runminitest stores object files separately. 2008-07-23 18:53:44 +02:00
Christian Kamm
a51342ca94 Fix broken switch4.d test case. 2008-07-23 18:04:06 +02:00
Christian Kamm
04db1053e0 [svn r392] Make import of std.compat in object.di used for testing public. 2008-07-15 10:56:16 +02:00
Christian Kamm
1486f29abb [svn r391] Fix classes nested inside functions for real. 2008-07-15 10:23:50 +02:00
Christian Kamm
5b9edddb9d [svn r389] Include std.outofmemory in testincludes.
Fixes run/OutOfMemory_01, 02.
2008-07-15 08:20:21 +02:00
Christian Kamm
4bcbe1cf68 [svn r383] Add explanations to dstress result table. 2008-07-14 21:03:15 +02:00
Christian Kamm
3f37dbe005 [svn r367] In web dstress statistics, write change lists sorted by filename. 2008-07-13 09:14:01 +02:00
Tomas Lindquist Olsen
c4982165ba [svn r366] Fixed identity exprs for structs was comparing addresses, not content! 2008-07-13 04:27:02 +02:00
Tomas Lindquist Olsen
4b8d048d59 [svn r364] fixed mini/sync2.d test case. 2008-07-13 03:02:15 +02:00
Tomas Lindquist Olsen
5457969aab [svn r363] Fixed a problem with the mini-test-driver. 2008-07-13 02:55:41 +02:00
Tomas Lindquist Olsen
cecb64b2e4 [svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'. 2008-07-13 02:51:19 +02:00
Christian Kamm
f0d8b9e153 [svn r354] Fix the regressions between [346] and [353] by making constructors and destructors outside classes fatal errors.
Fix tests makefile and add minimize to gc.d.
2008-07-12 09:23:14 +02:00