David Nadlinger
ffe37c4a62
Merge remote-tracking branch 'upstream/llvm3.0'
2011-11-12 19:51:30 +01:00
Alexey Prokhin
b52c224d57
Merge v2.056
2011-11-01 11:44:03 +04:00
Alexey Prokhin
7431d58702
Rewritten initialization of global variables.
2011-10-25 15:43:49 +04:00
Alexey Prokhin
45426ca60d
Implemented atomic intrinsics for llvm 3.0
...
Unline older versions, llvm 3.0 provides atomic instructions, not intrinsics.
The patch wraps the instructions into intrinsics, so they will be accessible
from d code.
2011-10-25 15:43:49 +04:00
Alexey Prokhin
629f13929e
WIP: port to llvm 3.0
2011-10-25 15:43:39 +04:00
Alexey Prokhin
c09aa779ea
Fixed a crash inside TraitsExp::semantic when compiling typecons.d with unittests
2011-09-13 21:01:39 +04:00
Alexey Prokhin
9a9999854f
Named Return Value Optimization
2011-09-13 21:01:38 +04:00
Alexey Prokhin
0e754b5acd
Merge dmd v2.055
2011-09-13 21:01:32 +04:00
Alexey Prokhin
a41b822420
Fixed ldc1 compilation
2011-07-26 09:30:36 +04:00
Alexey Prokhin
457f4dffbe
ICE involving pointers
2011-07-23 13:19:51 +04:00
Alexey Prokhin
213524bc61
CTFE: fixed calling of invariant from a constructor
2011-07-22 22:22:06 +04:00
Alexey Prokhin
ac2e7b033b
Fixed compilation of lifetime.d
2011-07-22 12:51:23 +04:00
Alexey Prokhin
79edefdc37
Fixed compilation of functions that does not have return statement but contain inline asm
2011-07-19 22:22:49 +04:00
Alexey Prokhin
6576b68dfd
Added empty ImportStatement::toIR(). That fixes import from a function
2011-07-19 20:02:39 +04:00
Alexey Prokhin
edd1ed5b09
DMD issue 693 & 5946 - Allow using 'this' for alias template parameter
2011-07-19 19:43:05 +04:00
Alexey Prokhin
f97fd92433
Fixed compilation of test32() from runnable/template1
2011-07-19 19:42:41 +04:00
Alexey Prokhin
2cc34c4005
Call desctructors on temporary variables
2011-07-19 19:20:42 +04:00
Alexey Prokhin
3c7490e446
Removed compiler warning
2011-07-19 19:20:40 +04:00
Alexey Prokhin
7a31b599cc
Updated to dmdfe 2.054
2011-07-19 19:20:38 +04:00
Alexey Prokhin
4210f4285a
Fixed a few interpret regressions
2011-07-19 10:14:11 +04:00
Alexey Prokhin
462cdda4ae
Merge dmdfe 2.053beta
2011-07-19 10:14:04 +04:00
Moritz Warning
b122315f2f
set used LLVM version to 2.9
2011-06-15 19:16:50 +02:00
Moritz Warning
5824fe4da7
fixes #450 :: real inside a class breaks interface casting on x86_64; patch by prokhin_alexey
2011-05-01 20:05:49 +02:00
Alexey Prokhin
6bc2431b6b
Skip unittests in imported modules
2011-04-30 15:30:57 +04:00
Alexey Prokhin
7070239e7d
Temporary fix for inlining
2011-04-30 15:30:57 +04:00
Alexey Prokhin
d01f63431d
Fix regression on 32 bit
2011-02-25 23:15:17 +03:00
Alexey Prokhin
3bb91c7513
Fix alignment of structs containing real
2011-02-25 22:29:43 +03:00
Alexey Prokhin
12984d9cc7
Fix size of classes
2011-02-25 22:28:59 +03:00
Alexey Prokhin
e921998d75
A few fixes for 64bit
2011-02-23 12:49:57 +03:00
Alexey Prokhin
293f5bf880
Updated to dmdfe 2.052
2011-02-20 19:00:52 +03:00
Moritz Warning
cb229578cf
fix ldc2 compilation for Haiku; thanks to MrSunshine
2011-01-24 19:18:06 +01:00
Moritz Warning
3018dc7f7d
Add missing dmd2/argtypes.c
2011-01-15 22:40:29 +01:00
Alexey Prokhin
3fe9912e62
Fixed types of delegates
2011-01-08 13:02:00 +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
cbd0296328
Implemented CommaExp::cacheLvalue(). Fixed CallExp::chackLvalue().
2011-01-06 19:41:54 +03:00
Alexey Prokhin
81e0203a6c
Fixed -oq flag
2011-01-06 15:50:47 +03:00
Alexey Prokhin
f57409958c
Fixed consturctors of structs that have invariant
2011-01-06 15:08:07 +03:00
Alexey Prokhin
c5e9784863
Updated to dmdfe 2.051
2011-01-05 18:21:40 +03:00
Alexey Prokhin
ceeff57700
Fixed CastExp::checkEscape()
2011-01-04 20:03:33 +03:00
Alexey Prokhin
8e9a623880
Give error for overloaded function addresses
2011-01-04 20:03:33 +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
f8c0bce004
Run semantic3 on tuple declarations. This way, flag "availableExternally" will be set correctly for tuples.
2011-01-03 20:07:58 +03:00
Alexey Prokhin
9e3ef5e905
Fixed the type of the magic property .funcptr"
2011-01-03 18:49:45 +03:00
Alexey Prokhin
89375729cf
Work on switch statements.
2011-01-03 16:50:08 +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
31472eae97
Removed another usage of SymOffExp.
2011-01-02 17:43:02 +03:00
Alexey Prokhin
67880f01e9
Initialize TemplateInstance::emittedInModule with NULL
2011-01-02 17:38:39 +03:00
Alexey Prokhin
a1f14a047b
Removed AggregateDeclaration::scope which was added by mistake.
2010-12-31 13:29:15 +03:00
Alexey Prokhin
1f5b7d6759
Fixed casting of a static array to a pointer type.
2010-12-30 14:04:40 +03:00