Alexey Prokhin
8d54cc539f
Clean up mtype
2013-10-05 19:04:18 +04:00
Alexey Prokhin
54078eca66
Set global.params.isOS variables so we do not have to modify dmd frontend to use targetTriple
2013-07-29 18:49:09 +04:00
David Nadlinger
ab7ffa9988
Removed obsolete importprot members.
2013-06-12 20:16:37 +02:00
David Nadlinger
292caa1438
Merge the 2.063 frontend.
2013-06-12 20:16:37 +02:00
David Nadlinger
f7aac5201b
Remove unused extra argument to overload checking functions.
2013-06-07 21:23:19 +02:00
David Nadlinger
b8cdfad8c0
global.params.useAvailableExternally -> global.inExtraInliningSemantic.
...
This will hopefully make the associated code a bit easier
to read.
2013-04-01 21:17:13 +02:00
David Nadlinger
32eb24eebf
Added '-Hkeep-all-bodies' switch.
...
The same behavior is triggered by the '-inline' switch for
DMD, but this doesn't quite translate to LDC.
2013-03-16 11:52:19 +01:00
David Nadlinger
99819d0c63
Merge branch 'master' into merge-2.062.
2013-03-11 23:07:32 +01:00
kai
0b19b81ac9
Add new intrinsic LDC_never_inline.
...
LDC_never_inline is a complementary intrinsic to LDC_allow_inline.
It tells the LLVM optimizer to never inline a function. This can be
useful if inlining creates incorrect code.
A possible application is core.thread.getStackTop().
2013-03-11 22:32:40 +01:00
kai
bf52dbe389
Merge of DMD 2.062.
2013-03-06 18:18:56 +01:00
David Nadlinger
eb56e934a5
Restore original Parameter::ForeachDg signature.
...
Having two functions is not pretty, but shorter than messing
around with a custom context object, and much, MUCH better than
requiring a lot of changes to the rest of the code base.
2013-01-04 06:22:57 +01:00
David Nadlinger
5c518a16ec
Merged 2.061 frontend.
2013-01-04 06:22:53 +01:00
David Nadlinger
39e3e3a678
Replace template symbol module fix with more localized hack.
...
This reverts commit c4adbedcc , which would have fixed the
problem at its roots, but caused strange template function
attribute inference failures in D-YAML, presumably due to
the different order of semantic3 execution on the templates.
2012-12-31 05:46:29 +01:00
David Nadlinger
8118c846af
Fixed unlisted contract parameter issue.
...
Thanks to alexrp for mentioning it.
2012-10-07 14:58:01 +02:00
David Nadlinger
25beaf41b5
Fix base class contract invocation.
...
Fixes DMD testcase 'testcontracts'.
2012-09-27 21:05:51 +02:00
David Nadlinger
9e64918efd
Fix #162 - contracts for member functions with out parameters.
...
Also documented the code and changed it to explicitly use IN_LLVM
for the LDC specific parts in order to make debugging/frontend
merging easier.
2012-09-17 01:46:48 +02:00
David Nadlinger
98f9742db5
FuncDeclaration::semantic3 cleanup.
...
Cosmetical changes only.
2012-09-16 19:22:17 +02:00
David Nadlinger
bf0d8afc88
Merge branch 'dmd-2.060' into master.
...
Conflicts:
dmd2/func.c
dmd2/mars.c
2012-09-07 04:15:44 +02:00
David Nadlinger
207033c427
Removed LDC-only dead code.
...
Helps avoid broken merges.
2012-09-07 03:51:33 +02:00
David Nadlinger
837ef30fec
Merged DMD 2.060 frontend.
...
Upstream Git tag v2.060 (e8fe11c20249cb9e42538be88c99b74ede4d12e3).
2012-09-07 03:51:31 +02:00
kai
521921e5d3
Fix some whitespace issues.
2012-08-25 14:41:33 +02:00
Alexey Prokhin
3fb21f986e
Merged the last bits of dmdfe 2.059
2012-04-22 12:10:47 +04:00
Alexey Prokhin
bca73ec8b9
Merged dmd 2.059beta
2012-04-05 15:30:00 +04:00
Alexey Prokhin
50bbeb7c6f
Remerged dmd2 frontend using git subtree
2012-04-05 11:12:22 +04:00
Alexey Prokhin
038825a195
Temporary removed dmd2 frontend
2012-04-05 11:10:26 +04:00
Alexey Prokhin
e74e55df89
Merge 2.058beta
2012-02-15 13:23:16 +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
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
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
0e754b5acd
Merge dmd v2.055
2011-09-13 21:01:32 +04:00
Alexey Prokhin
213524bc61
CTFE: fixed calling of invariant from a constructor
2011-07-22 22:22:06 +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
7a31b599cc
Updated to dmdfe 2.054
2011-07-19 19:20:38 +04:00
Alexey Prokhin
462cdda4ae
Merge dmdfe 2.053beta
2011-07-19 10:14:04 +04:00
Alexey Prokhin
6bc2431b6b
Skip unittests in imported modules
2011-04-30 15:30:57 +04: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
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
8a49067776
Increment vgates in static constructors. That fixes static destructors of templates.
2011-01-02 17:43:02 +03:00
Alexey Prokhin
6d22dd7999
Updated to 2.050
2010-11-08 16:55:35 +03:00
Alexey Prokhin
b1e5993873
Started work on phobos
2010-10-27 18:13:46 +04:00
Alexey Prokhin
4d7a6eda23
Different fixes for d2
2010-10-07 22:35:32 +04:00
Alexey Prokhin
df87607ba2
Updated to 2.049
2010-09-30 21:54:45 +04:00
Robert Clipsham
089e792258
DMD 2.032 Merge.
2009-09-08 10:07:56 +01:00
Robert Clipsham
b73e45940a
Merged dmdfe 2.031.
2009-07-07 02:26:11 +01:00
Frits van Bommel
8044a67720
Apply changes from r1482 to D2 frontend too. Completely untested, but ldc2
...
compiles again.
2009-06-08 13:45:26 +02:00