Tomas Lindquist Olsen
280be5ef8e
Fixed dstress/run/a/array_initialization_17_A.d regression. default initialized static array elements in a constant static array initializer was getting incorrect values.
...
Fixed minor version problem in mini/naked_asm4.d test case.
2009-02-03 23:48:47 +01:00
Kelly Wilson
e033781188
Added X86-64 version. Needed significant changes.
2009-02-03 12:35:00 -07:00
Kelly Wilson
fe5c047568
Added X86-64 versioning
2009-02-03 12:34:12 -07:00
Kelly Wilson
d969e0b1cb
Added X86-64 version
2009-02-03 12:33:42 -07:00
Kelly Wilson
be38aa3e3a
Added X86-64 versioning
2009-02-03 12:33:21 -07:00
Tomas Lindquist Olsen
dc5944df99
Implemented proper support for naked asm using llvm module level asm. Still not 100% complete, but already 1000 times better that what we had before. Don's BignumX86 implementation from Tango (when turned into a standalone unittest) seems to fully work with no changes, and great performance :)
...
Fixed align N; in asm blocks.
Fixed inreg parameter passing on x86 for ref/out params.
Removed support for lazy initialization of function local static variables, I have no idea why I ever implemented this, it's not in the D spec, and DMD doesn't support it :P
Some of the global variable related changes might cause minor regressions, but they should be easily fixable.
2009-02-03 08:54:57 +01:00
Tomas Lindquist Olsen
e6ef3ecf15
Fixed bug #191 by rewriting DtoConstArrayInitializer, patch unfortunately caused regressions, hopefully this doesn't :P
2009-02-01 23:30:36 +01:00
Christian Kamm
01f19c466c
Fix #198 and #199 by making CTFE on static struct initializers work.
...
Renamed SymbolDeclaration to StaticStructInitDeclaration to make its usage clearer.
2009-02-01 20:20:56 +01:00
Christian Kamm
9c197b777b
Add testcase for #189 to mini tests.
2009-01-25 12:38:29 +01:00
Christian Kamm
320c22810a
Fix #174 .
2009-01-22 21:46:40 +01:00
Christian Kamm
50be43051a
Fix #165 , thanks afb.
2009-01-17 17:44:54 +01:00
Christian Kamm
71a5ff83c7
Fix #164 .
2009-01-17 17:41:03 +01:00
Christian Kamm
9081e55746
Fix #163 .
2009-01-17 14:53:32 +01:00
Christian Kamm
80caaf4ea0
Rename test to accepted name.
2008-12-20 09:29:36 +01:00
Christian Kamm
2d573974d7
Add #154 testcase.
2008-12-18 08:09:01 +01:00
Christian Kamm
7069073f75
Applied modification of wilsonk's patch for AndAnd and OrOrExp for void rhs funcs.
2008-12-17 21:24:17 +01:00
Tomas Lindquist Olsen
99396c2e7a
Fixed problem with nested function inside static nested function. see mini/compile_nested2.d. fixes #143 .
2008-12-09 14:57:01 +01:00
Tomas Lindquist Olsen
3c400ff21c
Removed error on naked, not fully complete, but I'll be doing more work on it during this Christmas, and some things do work.
...
Fixed taking delegate of final class method. see mini/delegate3.d.
2008-12-09 14:07:30 +01:00
Christian Kamm
42006b2d9c
Add testcase for with(symbol) fix.
2008-12-07 16:06:10 +01:00
Tomas Lindquist Olsen
5ae0f3a934
... and fixed that test case :P ...
2008-12-04 16:13:40 +01:00
Tomas Lindquist Olsen
a5616feceb
Added testcase for fix in rev [825]
2008-12-04 16:12:47 +01:00
Tomas Lindquist Olsen
3111ff1fc4
Fixed non-static struct initializers.
2008-12-03 01:40:28 +01:00
Tomas Lindquist Olsen
879bed7df6
Added CMake option to disable generation of ClassInfo.offTi arrays, defaults to OFF.
2008-12-02 01:44:17 +01:00
Tomas Lindquist Olsen
91a2c257b0
Implemented allocating storage for a slice if its address is taken, fixes #115
2008-12-02 01:20:22 +01:00
Tomas Lindquist Olsen
c62b31a357
Fixed taking address of global static array element as constant expression.
2008-12-02 01:07:22 +01:00
Christian Kamm
c451f100f5
Add interface minitest, rework s.d.
2008-11-30 11:54:18 +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
70c8174303
Strip test binaries.
2008-11-22 21:06:33 +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
Christian Kamm
bc80a83666
Merge wilsonk's x86-64 inline assembly.
2008-11-08 22:29:19 +01:00
Christian Kamm
51385239e8
asm4 fix.
2008-11-01 17:56:25 +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
891d17e4b5
Applied easy part from wilsonk's x86-64 patch in #107
2008-10-30 11:08:34 +01:00
Christian Kamm
2885e645d1
Add test for broken ClassInfo.create method. Thanks MrSunshine.
2008-10-26 13:41:03 +01:00
Tomas Lindquist Olsen
3c3a5dda14
Implemented correct parameter order according to x86-32 ABI documentation.
...
Changed AA types to just a void* .
2008-10-25 06:03:28 +02:00
Tomas Lindquist Olsen
f7ea1da010
Removed TypeOpaque from DMD.
...
Changed runtime functions taking opaque[] to void[].
Implemented proper type painting, to avoid "resizing" array casts in runtime calls that previously took opaque[].
Implemented dynamic arrays as first class types, this implements proper ABI for these types on x86.
Added dwarf region end after call to assert function, fixes some problems with llvm not allowing this to be missing.
Reverted change to WithStatement from rev [704] it breaks MiniD, mini/with2.d needs to be fixed some other way...
Fixed tango bug 1339 in runtime, problem with _adReverseChar on invalid UTF-8.
Disabled .bc generation in the compiler runtime part, genobj.d triggers some llvm bug when using debug info. the .o seems to work fine.
2008-10-22 14:55:33 +02:00
Tomas Lindquist Olsen
379bd9c330
Fixed weird struct problem from downs, see mini/compile_structs1.d
...
Rewrote DtoIndexStruct/Class , the old implementation were way too complex for what we really need now - since the DotVar changes.
2008-10-14 15:35:49 +02:00
Tomas Lindquist Olsen
180487b614
Fixed issue with accessing a WithStatement context from inside a nested function. see mini/with2.d
...
Renamed some LLVM uses of ::create statics to ::Create , lower case ones will be deprecated soon.
2008-10-14 13:21:14 +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
Christian Kamm
98f764b5f7
Trivial change, just checking pushing auth.
2008-10-12 18:11:30 +02:00
Christian Kamm
c8ef274074
Update tests readme.
2008-10-12 18:10:19 +02:00
Christian Kamm
5a8716d539
Update dstress running script.
2008-10-11 21:46:19 +02:00
Tomas Lindquist Olsen
ed7dd481e5
Fixed dynamic array -> boolean. does (arr.ptr !is null) now instead of (arr.length != 0)
2008-10-08 22:38:52 +02:00
Christian Kamm
3506960765
Add tests.
2008-10-07 20:22:04 +02:00
Christian Kamm
a3a418150e
Some missed LLVMDC -> LDC.
2008-10-06 22:54:08 +02:00
Christian Kamm
6eeeafdba6
First part of rename to LDC.
2008-10-06 22:46:55 +02:00
Tomas Lindquist Olsen
ecd8a2ac07
Support structs that are merely a forward reference. See mini/forwdecl1.d
2008-10-06 14:06:55 +02:00
Tomas Lindquist Olsen
77e16a9302
Added test case for bug #100
...
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
2008-10-05 17:28:15 +02:00