Commit Graph
137 Commits
Author SHA1 Message Date
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
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