Commit Graph
61 Commits
Author SHA1 Message Date
David Nadlinger 4597423dc5 More IN_LLVM. 2013-05-19 20:52:51 +02:00
David Nadlinger 4ad1b94f11 Remove piece of dead code gone from upstream as well.
We do not support building with DMC anyway, so no
functionality change implied.
2013-05-19 20:52:42 +02:00
David Nadlinger ad4eb1b6bd Align unused real alignment code to upstream source.
We set the target-specific values at runtime in Type::init().
2013-05-19 20:52:42 +02:00
kai a0c259205c Fix endian issue in dmd2/mtype.c.
The initial value for floats was 0 and not NaN due to an endian issue.
This was discovered by a test in object_.d.
2013-04-20 20:03:02 +02:00
kai bf52dbe389 Merge of DMD 2.062. 2013-03-06 18:18:56 +01:00
David Nadlinger 5f3ba41574 Removed redundant global.params.cpu field.
Now that we have global.params.targetTriple, the information
is only duplicated.
2013-02-07 17:36:54 +01:00
David Nadlinger b99b78558b Hack to make nested struct .init results an rvalue.
The code still needs closer scrunity, as the 'nested' test
from the DMD testsuite doesn't fully pass yet.
2013-01-11 21:34:45 +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 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 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
kai 1205e3ea83 Use TargetData to get size of certain types (instead of hard-coded values). 2012-08-25 01:29:42 +02:00
Alexey Prokhin 3fb21f986e Merged the last bits of dmdfe 2.059 2012-04-22 12:10:47 +04:00
Alexey Prokhin 7e23eb5047 Infer function literal kind (TOKdelegate or TOKfunction). 2012-04-21 22:37:36 +04:00
Alexey Prokhin 27fadea1b9 Merged last dmd2 changes 2012-04-06 15:46:07 +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
kai 2433b74460 Add some upcoming changes from 2.059/1.074 which helps compiling with MSC. 2012-03-22 21:01:43 +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 ae7f0ca7e7 Preliminary vector support 2012-02-16 14:42: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 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 88cff99bd4 Merge dmdfe 2.057 2011-12-16 19:44:56 +04:00
Alexey Prokhin b52c224d57 Merge v2.056 2011-11-01 11:44:03 +04:00
Alexey Prokhin 0e754b5acd Merge dmd v2.055 2011-09-13 21:01:32 +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
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 3bb91c7513 Fix alignment of structs containing real 2011-02-25 22:29:43 +03:00
Alexey Prokhin 293f5bf880 Updated to dmdfe 2.052 2011-02-20 19:00:52 +03:00
Alexey Prokhin c5e9784863 Updated to dmdfe 2.051 2011-01-05 18:21:40 +03:00
Alexey Prokhin 9e3ef5e905 Fixed the type of the magic property .funcptr" 2011-01-03 18:49:45 +03:00
Alexey Prokhin c089205395 Removed a hack for bug #218. That fixes many regressions in CTFE 2010-12-17 12:55:28 +03:00
Alexey Prokhin 6d22dd7999 Updated to 2.050 2010-11-08 16:55:35 +03:00
Eldar Insafutdinov 6e8d25ee0d fix stupid bug with sizes of compiler classes 2010-10-31 23:17:56 +00:00
Alexey Prokhin e4c3179d43 Different fixes: phobos compiles now 2010-10-28 14:53:01 +04: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
Tomas Lindquist Olsen f6997cb604 D2:
Applied function type from D1 frontend that got removed in D2, it's critical for member function type to be correct.

Fixed a bunch of type discrepancies in druntime object.di vs. genobj.d .

Disabled (#if 0) some potentally very large type dumps for -vv .

Updated classinfo and typeinfo generation for D2, almost complete now.

Added finer grained checks for vtbl type mismatching, aids debugging.
2009-06-03 02:28:48 +02:00
Robert Clipsham c5be82c5ae LDC 2 compiles again. 2009-05-30 17:23:32 +01:00
Christian Kamm 8d01068c9b Apply small includes patch for FreeBSD. Thanks kimelto! 2009-04-02 19:16:44 +02:00
Tomas Lindquist Olsen c3a53c0128 Added hasUnalignedFields helper to check if a type has unaligned fields - as per request from fvbommel. Result is cached in TypeStruct. 2009-03-03 15:08:26 +01:00
Tomas Lindquist Olsen 8cad8d6c7a Merged ABI changes into D2 frontend. 2009-03-03 14:10:37 +01:00