Alexey Prokhin
b03babcab6
Fixes in X86_64 ABI
2011-02-25 22:28:45 +03:00
Moritz Warning
b752882184
merge from alexeys branch
2011-02-24 13:22:17 +01:00
Moritz Warning
8275ffeb98
Fix casting of associative arrays; thanks to alexey
2011-02-24 13:08:36 +01:00
Moritz Warning
fb418bf2e6
Added -disable-red-zone flag.
...
This will disable the usage of the 'red-zone' in ABIs that make use of it (like x86). This mimics the exact flag used by clang. It is comparable to the -mno-red-zone flag in gcc. - thanks to wilkie
2011-02-23 23:50:53 +01:00
Alexey Prokhin
e921998d75
A few fixes for 64bit
2011-02-23 12:49:57 +03:00
Alexey Prokhin
aa5dfdfd4d
Fix casting of associative arrays
2011-02-20 19:00:54 +03:00
Alexey Prokhin
f0a183f0e8
Fix a crash when compiling a file which contains an immutable class declaration
2011-02-20 19:00:53 +03:00
Alexey Prokhin
b0d97b139a
It is probably wrong, but it fixes compilation of phobos with -g flag
2011-02-20 19:00:48 +03:00
Alexey Prokhin
6d89bfa961
Use _d_assocarrayliteralTX to initialize associative arrays. Replace depricated _d_arrayappendcT() by _d_arrayappendcTX(). Make sure that a l-value of a binassign expressions is only evaluated once (reapllied 1784 but only for D2)
2011-02-20 19:00:45 +03:00
Moritz Warning
89aeb05042
apply fixed debug info fix, see #452 ; thanks to sokol
2011-01-14 14:38:38 +01:00
Moritz Warning
ec2ea65977
revert 1784
2011-01-11 03:20:35 +01:00
Moritz Warning
9ca6717b5b
revert 1826
2011-01-11 03:15:40 +01:00
Moritz Warning
f48f98c474
another ldc2 merge
2011-01-10 19:45:00 +01:00
Alexey Prokhin
38fe715638
Work on debug
2011-01-08 18:00:04 +03:00
Alexey Prokhin
553d5518b3
Implemented casting of a global variable to a pointer in an initializer. Implemented adding to a pointer in an initializer
2011-01-08 13:01:54 +03:00
Alexey Prokhin
e01aed4327
Fixed passing of static arrays into functions.
...
This patch finally do what commit 99ee6091cc5e supposed to do...
2011-01-07 09:46:46 +03:00
Alexey Prokhin
54e3121ad9
Reverted "Fixed passing of structs and static arrays into functions."
2011-01-06 20:06:27 +03:00
Alexey Prokhin
cbd0296328
Implemented CommaExp::cacheLvalue(). Fixed CallExp::chackLvalue().
2011-01-06 19:41:54 +03:00
Alexey Prokhin
e9dacd97e2
Fixed passing of structs and static arrays into functions.
...
Not sure if it is correct, though.
2011-01-06 17:07:44 +03:00
Alexey Prokhin
81e0203a6c
Fixed -oq flag
2011-01-06 15:50:47 +03:00
Alexey Prokhin
34987f71e2
Fixed some issues with phobos.
2011-01-06 13:00:06 +03:00
Alexey Prokhin
66edce9058
Reverted "Fixed a bunch of ldc1 regressions". Because there is a better way to fix them.
2011-01-06 11:45:38 +03:00
Robert Clipsham
2234264acf
Merged klickverbot's off-by-one fixes for D optimisation passes. Thanks.
2011-01-05 23:39:32 +00:00
Alexey Prokhin
c5e9784863
Updated to dmdfe 2.051
2011-01-05 18:21:40 +03:00
Moritz Warning
f6b7d2a030
merge from ldc2 branch
2011-01-04 20:54:46 +01:00
Alexey Prokhin
8a4ee0ede5
Fixed a bunch of ldc1 regressions (thanks to mwarning)
2011-01-04 22:32:20 +03:00
Alexey Prokhin
02b307c0e9
Detect circular definition of typedef's
2011-01-04 20:03:29 +03:00
Alexey Prokhin
3ceb476d32
Inline assembler is not allowed in @safe functions
2011-01-04 19:18:53 +03:00
Alexey Prokhin
21659b6a5d
Check in DtoNestedVariable() whether the needed frame can be accessed
2011-01-04 19:06:25 +03:00
Alexey Prokhin
67daf2fe0a
Fix for variadic functions
2011-01-04 14:18:50 +03:00
Alexey Prokhin
ceac300df2
Run deferred semantic
2011-01-04 14:03:27 +03:00
Alexey Prokhin
7911589964
Added ability to generate JSON files. Fixed generating of 'header' files.
2011-01-04 13:48:08 +03:00
Alexey Prokhin
b52cedf6d2
Add another stub to DtoInitializer()
2011-01-03 20:46:23 +03:00
Alexey Prokhin
89375729cf
Work on switch statements.
2011-01-03 16:50:08 +03:00
Alexey Prokhin
38b4b4569b
Fixed structs assign
2011-01-03 16:50:08 +03:00
Alexey Prokhin
910c589b79
Handle wild modifier in stripModifiers()
2011-01-03 16:50:08 +03:00
Alexey Prokhin
1c59eed83a
Check for lower slice bound when bounds checking is enabled
2011-01-03 16:50:08 +03:00
Alexey Prokhin
fd52810f1a
Fixed initialization of static arrays
2011-01-03 16:50:08 +03:00
Alexey Prokhin
a2cce35958
Work on associative arrays.
2011-01-03 16:50:05 +03:00
Alexey Prokhin
47239d9058
Work on support for variadic arguments. Updated headers in druntime/import.
2011-01-02 19:14:52 +03:00
Alexey Prokhin
8a49067776
Increment vgates in static constructors. That fixes static destructors of templates.
2011-01-02 17:43:02 +03:00
Alexey Prokhin
a86f414bc1
Fixed calling of _d_array_bounds and _d_switch_error.
2011-01-02 17:43:02 +03:00
Alexey Prokhin
3c4db7bc87
Fixed initialization of the static arrays
2011-01-02 17:43:02 +03:00
Alexey Prokhin
d128210f23
Fixed initialization of a struct with an array from another struct
2011-01-02 17:42:59 +03:00
Alexey Prokhin
4b34601a79
Make sure that a l-value of a binassign expressions is only evaluated once.
2011-01-02 17:38:40 +03:00
Alexey Prokhin
3a10377c26
Never use InternalLinkage for variables marked as "extern"
2011-01-02 17:38:38 +03:00
Kelly Wilson
11cbacf9da
Fix for ticket #440 by klickverbot. Thx.
2011-01-02 00:42:10 -05:00
Robert Clipsham
5e98bf3c49
Backed out changeset 95acac0ef1cd
2011-01-01 12:00:39 +00:00
Alexey Prokhin
16b0fe136e
Fixed a crash in DtoDefineFunction.
2010-12-31 14:07:33 +03:00
Alexey Prokhin
57866a8359
Fixed a crash in WithStatement::toIR.
2010-12-31 13:45:11 +03:00