Commit Graph

1095 Commits

Author SHA1 Message Date
Alexey Prokhin
14c6dfb895 Added pointers to shared constructors and destructors to ModuleInfo. 2010-11-05 17:40:29 +03:00
Alexey Prokhin
59d1ec5e0b Another fix for nested context in structs. 2010-11-05 11:55:23 +03:00
Alexey Prokhin
88d7b955c8 Reverted rev.1710 and rev.1711 2010-11-04 17:58:27 +03:00
Alexey Prokhin
fbb36404d9 Removed unnecessary temporary variables from getSlice() and DtoCatArrays(). 2010-11-04 14:14:08 +03:00
Alexey Prokhin
20b2b4b7f5 Added missing calls of postBlit 2010-11-04 12:50:19 +03:00
Alexey Prokhin
d7047f639e Rehash associative array right after its creating (DMD seems to be doing the same) 2010-11-03 19:46:19 +03:00
Alexey Prokhin
0cc3dc369a Fixed signature of _d_delarray() 2010-11-02 20:30:06 +03:00
Alexey Prokhin
87485d6649 Fixed signature of _aaEqual for D2 2010-11-02 18:40:58 +03:00
Alexey Prokhin
6b1243cec2 Fixed creating of arrays of immutable types 2010-11-02 16:38:13 +03:00
Alexey Prokhin
24e2184546 Removed hack from DtoAAIn 2010-11-02 14:22:36 +03:00
Alexey Prokhin
3943b2866b Fixed nested context for delegates initialized in structs and classes 2010-11-02 13:22:19 +03:00
Alexey Prokhin
2fe8635e5a Struct constructors are supported now 2010-11-02 13:22:10 +03:00
Alexey Prokhin
360a99caa9 Resolving nested context for structs.
* * *
Another fix for nested structs
* * *
Yet another fix for nested structs
2010-11-02 13:21:36 +03:00
Alexey Prokhin
e3afcf8a8d Workaround for a bug in llvm 2.8 which appears only when all optimizations are off 2010-11-02 13:20:21 +03:00
Alexey Prokhin
dc50773333 Fixed D1 regression. Thanks to mwarning 2010-10-31 15:22:24 +03:00
Alexey Prokhin
2fe6817294 Fixed a druntime crash in _d_delclass 2010-10-31 12:23:35 +03:00
Alexey Prokhin
bca5491974 A few fixes for debug 2010-10-31 12:11:16 +03:00
Alexey Prokhin
d0c7a5a3cb Ported to new debug information format introduced in llvm 2.7 2010-10-30 20:57:32 +04:00
Alexey Prokhin
24c92d3a7c CallExp::cacheLvalue is back 2010-10-30 20:51:31 +04:00
Eldar Insafutdinov
f95fa16f58 fix compile errors 2010-10-29 22:58:11 +01: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
eb68fc3d8c Fixed building of LDC1. Work on arrays 2010-10-08 15:58:10 +04:00
Alexey Prokhin
41a66cf437 Use druntime functions for array operations 2010-10-08 15:10:56 +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
Alexey Prokhin
93ddf8112b Fixed compilation of ldc2 2010-09-28 20:51:27 +04:00
Moritz Warning
90d9d11def removed erroneous asserts 2010-10-29 23:06:01 +02:00
Moritz Warning
fd4899f46f remove revisions.pl; we go with llvm releases now 2010-10-23 14:10:25 +02:00
Moritz Warning
c151d37365 fixes #434 :: add llvm 2.8 support 2010-10-23 13:38:26 +02:00
Moritz Warning
233299e5c8 Haiku OS support; thanks to MrSunshine 2010-10-04 00:58:14 +02:00
Moritz Warning
09b9644292 see #428 :: make identifiers unique for modules without module statement that are passed on command line; thanks SiegeLord 2010-09-27 00:01:47 +02:00
Moritz Warning
ba88a9325d fixes #416 :: LDC crashes when trying to build Tango on OS X; thanks klickverbot 2010-08-04 16:28:09 +02:00
Moritz Warning
93f0672450 fixes #415: 'swapgs' inline asm opcode mistakenly demands 2 arguments; thanks wolfwood 2010-07-31 21:26:05 +02:00
Moritz Warning
3dcfb04ad7 fix for FreeBSD 2010-06-09 23:16:00 +02:00
Tomas Lindquist Olsen
1fac40d2bd Update to work with LLVM 2.7.
Removed use of dyn_cast, llvm no compiles
without exceptions and rtti by
default. We do need exceptions for the libconfig stuff, but rtti isn't
necessary (anymore).

Debug info needs to be rewritten, as in LLVM 2.7 the format has
completely changed. To have something to look at while rewriting, the
old code has been wrapped inside #ifndef DISABLE_DEBUG_INFO , this means
that you have to define this to compile at the moment.

Updated tango 0.99.9 patch to include updated EH runtime code, which is
needed for LLVM 2.7 as well.
2010-05-19 12:42:32 +02:00
Kelly Wilson
dd6a54d442 Strange workaround for returning from within 'void main()'. The new dmdfe sets the ReturnStatement->exp to null. Fixed bug #391. 2010-03-10 19:35:14 -07:00
Matti Niemenmaa
7edb3d1875 Don't error out with -singleobj, -of, and -c/-output-{bc,ll,o,s}. 2010-03-09 23:20:39 +02:00
Matti Niemenmaa
68daadf53c Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr. 2010-03-09 23:07:08 +02:00
Kelly Wilson
b38845e88e Apply patch from klickverbot. This is his 'proper fix' patch for bug #395. 2010-03-08 23:37:40 -07:00
Kelly Wilson
902bc06fb1 Revert 1637 because it breaks HelloWorld with Tangos Stdout. There may be another way to fix this so that Deewiants case works, as well as Tango. 2010-03-08 23:10:26 -07:00
Christian Kamm
ef066d42c0 Merge. 2010-03-08 20:09:18 +01:00
Christian Kamm
532af253a9 Apply workaround for #395 by klickverbot. 2010-03-08 20:06:08 +01:00
Matti Niemenmaa
8e696809b3 Change template linkage from weak_odr to linkonce_odr. Much better, fixes #363. 2010-03-08 19:05:12 +02:00
Christian Kamm
ae32163f34 Fix #398.
Tested by Deewiant.
2010-03-08 17:44:38 +01:00
Matti Niemenmaa
b0271794cd Make -nodefaultlib override -de{fault,bug}lib=foo instead of vice versa. 2010-03-05 21:40:51 +02:00
Kelly Wilson
05c466fc4a Fix typo for iretq 2010-02-25 17:12:54 -07:00
Christian Kamm
9cd32549c4 Improve array append performance.
Actually use the appropriate runtime function, instead of just
growing the array by one!
2010-02-14 10:11:05 +01:00
Leandro Lucarella
357dc9c1a9 Merge DMD r253: refactor: Argument => Parameter
---
 dmd/arrayop.c     |   30 ++++----
 dmd/arraytypes.h  |    2 +-
 dmd/class.c       |    8 +-
 dmd/declaration.c |   10 ++--
 dmd/declaration.h |   16 ++--
 dmd/doc.c         |   12 ++--
 dmd/dsymbol.c     |    4 +-
 dmd/expression.c  |   48 +++++++-------
 dmd/expression.h  |   32 +++++-----
 dmd/func.c        |   78 +++++++++++-----------
 dmd/init.c        |    2 +-
 dmd/interpret.c   |    8 +-
 dmd/mtype.c       |  190 ++++++++++++++++++++++++++--------------------------
 dmd/mtype.h       |   32 +++++-----
 dmd/opover.c      |   34 +++++-----
 dmd/parse.c       |   40 ++++++------
 dmd/parse.h       |    2 +-
 dmd/statement.c   |   90 +++++++++++++-------------
 dmd/statement.h   |   14 ++--
 dmd/struct.c      |    8 +-
 dmd/template.c    |   30 ++++----
 gen/functions.cpp |   10 ++--
 gen/functions.h   |    2 +-
 gen/tocall.cpp    |   10 ++--
 gen/typinf.cpp    |    6 +-
 25 files changed, 359 insertions(+), 359 deletions(-)
2010-01-06 15:18:20 -03:00
Robert Clipsham
42eca04683 Folded in a patch by Troy Straszheim to better report errors with -run. 2009-12-28 02:23:41 +00:00