Tomas Lindquist Olsen
4230f2ef11
[svn r76] Fixed: TypeInfo for structs.
...
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
2007-10-29 03:28:12 +01:00
Tomas Lindquist Olsen
58b6fc972a
[svn r73] Identity expression for dynamic array and null was broken.
2007-10-28 04:23:38 +01:00
Tomas Lindquist Olsen
feea94424c
[svn r71] Fixed accessing parent function arguments from inside nested delegates.
...
Some cleanups in VarExp::toElem.
2007-10-28 02:46:06 +02:00
Tomas Lindquist Olsen
1f13dbd766
[svn r66] Added support for imaginary floating point types
2007-10-25 09:48:36 +02:00
Tomas Lindquist Olsen
be330878c2
[svn r62] Added support for TypeInfo _Array, _Function, _Pointer, _Delegate, _Enum
...
Added initial support for CatExp aka 'a ~ b'
Fixed global constant static arrays initialized with string literals
Fixed casting any dynamic array to void*
Fixed new expression with temporary storage
Fixed alias declarations in function scope
Fixed relational comparisons of pointers
2007-10-25 09:02:55 +02:00
Tomas Lindquist Olsen
5478de7147
[svn r61] Added support for D-style variadic functions :)
2007-10-25 02:39:53 +02:00
Tomas Lindquist Olsen
152e229329
[svn r59] Added support for C-style variadic functions. Currently only works on x86, x86-64 va_arg is broken in LLVM 2.1. PPC and PPC64 unknown.
...
Updates to runtime. Rebuild!
2007-10-24 22:18:06 +02:00
Tomas Lindquist Olsen
039bc0880d
[svn r58] Fixed cond expression resulting in a non-basic type.
...
Fixed identity expression for dynamic arrays.
Revamped the system to keep track of lvalues and rvalues and their relations.
Typedef declaration now generate the custom typeinfo.
Other bugfixes.
2007-10-24 01:37:34 +02:00
Tomas Lindquist Olsen
b72a4fa645
[svn r57] Added most basic TypeInfo (rebuild lphobos).
...
Fixed some SymOffExp bugs.
Added another typeinfo test case.
2007-10-23 07:16:02 +02:00
Tomas Lindquist Olsen
5fee3fc8b7
[svn r56] Initial support for TypeInfo.
...
Enums not work.
Several other bugfixes.
2007-10-23 05:55:12 +02:00
Tomas Lindquist Olsen
2c99df8deb
[svn r55] Foreach was always generating code as if the value variable was 'ref'
...
Other not-so-major improvements
2007-10-22 17:25:44 +02:00
Tomas Lindquist Olsen
a9189bd3a9
[svn r54] Added support for nested delegates referencing parent's stack variables.
...
Replaced tester.sh with a version written in D.
A few bugfixes.
2007-10-22 15:40:56 +02:00
Tomas Lindquist Olsen
f16a0c35b5
[svn r53] added basic support for delegate literals. if you access outer variables you get a broken module
2007-10-19 17:43:46 +02:00
Tomas Lindquist Olsen
10db08076c
[svn r44] Lots of bug fixes.
...
New array literal support
New array ~= operator support (for single element)
New with statement support
More...
2007-10-19 07:43:21 +02:00
Tomas Lindquist Olsen
3db5b9bb98
[svn r38] * resizing dynamic arrays support
...
* throw is replaced with assert(0)
* catch is ignored
* better foreach support
* various bugfixes
2007-10-09 02:50:00 +02:00
Tomas Lindquist Olsen
56d2cff2a2
[svn r35] * Attributes on struct fields/methods now work
...
* Updated object.d to 1.021
* Added -novalidate command line option. this is sometimes useful when debugging as it may let you read the .ll even if it's invalid.
2007-10-04 16:44:07 +02:00
Tomas Lindquist Olsen
43d59e151b
[svn r33] * Added support for assignment to function arguments
2007-10-04 13:45:22 +02:00
Tomas Lindquist Olsen
02cf2ac384
[svn r31] * Fixed returning through hidden pointer was unable to report back the return value
...
* Fixed removed some litter instructions sometimes produced by constructor calls
2007-10-04 11:39:53 +02:00
Tomas Lindquist Olsen
24c3e2649a
[svn r28] * Fixed accessing aggregate fields. it was still not quite right. hopefully is now :)
2007-10-04 10:13:21 +02:00
Tomas Lindquist Olsen
879d2f10be
[svn r25] * Fixed a lot of problems with string literals
...
* Fixed slice-slice copying assignment
2007-10-04 07:01:15 +02:00
Tomas Lindquist Olsen
8004219a69
[svn r22] * Forgot to add std.stdio
2007-10-04 01:47:53 +02:00
Tomas Lindquist Olsen
4eab68b36c
[svn r15] * Fixed a bunch problems with virtual calls. Seems I did some rather poor testing.
...
* Now 50/51 tests compile.
* Added a simple runalltests.d scripts that should be run with 'gdmd -run runalltests.d' - LLVMDC will not compile it yet.
2007-10-02 05:10:18 +02:00
Tomas Lindquist Olsen
e95466cb64
[svn r13] * Updated for LLVM 2.1
...
* Class v-tables are now typesafe
* Code cleanups
2007-10-01 21:19:53 +02:00
Tomas Lindquist Olsen
1609cb80d4
[svn r12] fixed accessing aggregate fields of aggregates
...
removed some useless branches for successive scopes ala {}{}{}
2007-09-27 06:03:06 +02:00
Tomas Lindquist Olsen
329ad7747c
[svn r10] Updated for LLVM rev. 20070913
...
Applied fixes from wilsonk on the forum
Some tweaks to work with gc 7.0
Fixed aggregate members of aggregates
Fixed cyclic/recursive class declarations
Other minor tweaks
2007-09-26 19:05:18 +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