311 Commits
Author SHA1 Message Date
kai 0a9ba4d283 Move additional #include inside IN_LLVM section. 2012-03-25 15:19:25 +02:00
kai 2433b74460 Add some upcoming changes from 2.059/1.074 which helps compiling with MSC. 2012-03-22 21:01:43 +01:00
kai 4616b068c8 Add MSC specific code. 2012-03-22 21:01:07 +01:00
kai dee054fae0 Small code cleanup.
- Wraps some LDC specific code in 'IN_LLVM' section
- Adds some MSVC specific code to 'IN_LLVM' section
- Removes an unused include file

Net result is much less errors with MSVC.
2012-03-15 07:11:54 +01:00
David Nadlinger 1a17b17a11 Fix TypeNull::toDecoBuffer prototype mismatch.
This shouldn't have caused any harm, as it currently only forwards to Type::toDecoBuffer anyway.
2012-03-13 10:49:28 +01:00
Alexey Prokhin 598942bd78 Fixed #28 — 64-bit unions are not the same size as C language unions in some situations 2012-03-06 11:29:30 +04:00
Alexey Prokhin ae7f0ca7e7 Preliminary vector support 2012-02-16 14:42:23 +04:00
Alexey Prokhin 5af48edec3 Merged the final dmd 2.058 2012-02-15 13:23:23 +04:00
Alexey Prokhin 8282153738 Removed special treatment of -property switch 2012-02-15 13:23:23 +04:00
Alexey Prokhin bb0d51fb98 Don't resolve template instances that were instantiated inside static if or statis assert 2012-02-15 13:23:23 +04:00
Alexey Prokhin 1f4cd033ca Fixed Type::implicitConvTo() 2012-02-15 13:23:23 +04:00
Alexey Prokhin cd516373b0 Fixed interpreting of address expressions to ref foreach parameters 2012-02-15 13:23:23 +04:00
Alexey Prokhin 2f56b2253d DMD Issue 7196 - Unfair function address overload resolution 2012-02-15 13:23:23 +04:00
Alexey Prokhin 6fea4b65a2 Updated frontend to 2.058 beta4 2012-02-15 13:23:23 +04:00
Alexey Prokhin eba8aac824 Fixed lambda inference 2012-02-15 13:23:22 +04:00
Alexey Prokhin e74e55df89 Merge 2.058beta 2012-02-15 13:23:16 +04:00
Alexey Prokhin f2ed2e96b0 Use optimized array operators implemented in druntime 2012-02-15 13:16:34 +04:00
Alexey Prokhin 4d3ba3594c Refactoring: moved ldc specific code from dmd/attrib.c and dmd2/attrib.c into gen/pragma.cpp 2012-02-15 13:16:06 +04:00
David Nadlinger efcbe8390a Work around macro redefinition warning (darwin11-llvm-gcc-4.2). 2012-01-23 21:42:02 +01:00
kai 6726b5da13 Compile LDC2 with VS2010 64bit (LDC changes only).
Contains all changes necessary to LDC specific source to compile LDC2 with VS2010. See https://github.com/D-Programming-Language/dmd/pull/516 for necessary changes to DMDFE.
2012-01-11 07:49:21 +01:00
Alexey Prokhin 875ebcf757 Fixed #46 — added missing option -wi 2012-01-10 21:36:19 +04:00
Alexey Prokhin b41688a0b8 DMD Issue 6859 - Segfault when abstract method uses with contract. 2011-12-16 20:15:31 +04:00
Alexey Prokhin 88cff99bd4 Merge dmdfe 2.057 2011-12-16 19:44:56 +04:00
Alexey Prokhin 4e8afa8858 Fixed #47 — Compile-time segfault involving libpthread, _aaGet 2011-12-11 09:52:09 +04:00
Alexey Prokhin 641cc85e64 Added -shared switch.
If the flag is passed, ldc will create a shared library not an executable file.
2011-12-06 19:43:14 +04:00
Alexey Prokhin fdead0d154 Fixed #21 — Added -lib switch 2011-12-06 17:24:49 +04:00
David Nadlinger 3916835380 Merge remote-tracking branch 'AlexeyProkhin/master' into merge-3.0
Conflicts:
	CMakeLists.txt
	druntime
	runtime/CMakeLists.txt
2011-12-04 18:38:09 +01:00
Alexey Prokhin b8721a8515 Emit debug info for variables that are used in nested functions 2011-12-03 23:45:58 +04:00
Alexey Prokhin 6357c421ac Updated ldc version and homepage 2011-12-03 13:52:05 +04:00
Alexey Prokhin 014d6bdd4d Merged 2.056 2011-12-02 21:50:52 +04:00
David Nadlinger 9384df17ae Removed stray DMD GC files to fix build.
They are currently unused by DMD, and are in the dmd2/root/gc directory there.
2011-11-12 20:15:40 +01:00
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