Commit Graph

1973 Commits

Author SHA1 Message Date
Alexey Prokhin
6576b68dfd Added empty ImportStatement::toIR(). That fixes import from a function 2011-07-19 20:02:39 +04:00
Alexey Prokhin
4cc10019ee Fixed an assertion in DtoType() 2011-07-19 19:58:38 +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
ce799e9974 Fixed postblit call 2011-07-19 19:20:43 +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
2220dd0559 'even' opcode on x86_64 2011-07-19 19:20:40 +04:00
Alexey Prokhin
c470a715a0 DMD issue 1570 - Wrong return for address operator 2011-07-19 19:20:39 +04:00
Alexey Prokhin
7a31b599cc Updated to dmdfe 2.054 2011-07-19 19:20:38 +04:00
Alexey Prokhin
99f5a73125 Allow nonconstants in associative array initializers 2011-07-19 10:14:15 +04:00
Alexey Prokhin
bb2676dbe3 Fix unresolved symbol in the runnable/mixin2 test 2011-07-19 10:14:14 +04:00
Alexey Prokhin
596aad3738 DMD issue 3086 - TypeInfo opEquals returns incorrect results 2011-07-19 10:14:13 +04:00
Alexey Prokhin
aef7e0ee36 Fix array append with dollar op 2011-07-19 10:14:12 +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
Alexey Prokhin
928fa9c4de Created branch 'merge' 2011-07-26 09:07:04 +04:00
Moritz Warning
b122315f2f set used LLVM version to 2.9 2011-06-15 19:16:50 +02:00
Alexey Prokhin
f3bf9fd277 Improve _d_arrayappendT call 2011-05-11 21:13:43 +04:00
Kelly Wilson
5d0f918e9e Fix cmpxchg16b instruction for asm blocks. Thanks to wolfwood from the Xomb project for this fix. 2011-05-05 20:56:46 -06: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
3a0dfac597 Fix file paths in debug info 2011-04-30 17:35:40 +04:00
Alexey Prokhin
316e3b6fe7 That should really be in rev.1954 2011-04-30 17:35:35 +04:00
Alexey Prokhin
6548ce2e79 Fix a crash in OrOrExp::toElem 2011-04-30 15:30:58 +04:00
Alexey Prokhin
8da0d673cf Rework vaarg support on X86_64 2011-04-30 15:30:57 +04:00
Alexey Prokhin
805fb5cfc1 D2: pass static arrays into functions by value 2011-04-30 15:30:57 +04:00
Alexey Prokhin
069f0a6262 Merged changes in TypeDArray::builtinTypeInfo() from dmdfe. 2011-04-30 15:30:57 +04:00
Alexey Prokhin
f351084089 Fix #408: Exception not caught for -inline. Thanks, lindquist, for your hint. 2011-04-30 15:30:57 +04: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
73e498ace1 Do not use internal linkage for a function nested in a small function that can be inlined from other modules 2011-04-30 15:30:57 +04:00
Kelly Wilson
9e5b0e79e2 Fix up ldc.conf to reflect newer naming convention for tango lib. 2011-04-26 09:16:33 -06:00
David Nadlinger
7a24e12736 Cleanup: Remove unused code in backend, silence some warnings.
This removed quite some clutter that has presumably piled up because LDC is seldom built with a lot of warnings enabled due to DMDFE.
2011-04-24 12:21:33 +02:00
David Nadlinger
009ce6e161 Avoid switch warning in irtype.cpp. 2011-04-24 11:41:41 +02:00
David Nadlinger
8f5f93057c Changed DtoResolveNestedContext() return type to void – it didn't even have a return statement! 2011-04-24 11:39:53 +02:00
David Nadlinger
ca76012343 Add header files to CMake build.
This way, they will be available in IDE project files generated via CMake.
2011-04-24 11:36:09 +02:00
David Nadlinger
8a878fd1d4 Merged DMD commit bb29b7eba53cedf52c732bebd8bd11c042f89da9:
fix line ending

---

This is the last commit in the series of merges to the DMD front-end 1.067. The vararg-related changes (e.g. DMD commit d759ab9a5db02a13b923922264751b4a6d0eb9df and 1a7126117786e5c1bc80ea74e1f5bc97cc20d51c, __argTypes, etc.) have not been merged yet.
2011-04-23 21:54:47 +02:00
David Nadlinger
dd2c12f2c0 Merged DMD commit ac11d09afb39556fd995fba2481c274e40437d39:
merge
2011-04-23 18:33:57 +02:00
David Nadlinger
ccbbd2b83e Merged DMD commit 2a9312002c04ccbcc50fc3bb16bd4fbda0841521:
merge ibuclaw-master
2011-04-23 18:32:23 +02:00
David Nadlinger
d571eea5e0 Merged DMD commit d19e57c3f0683ac3a0b290f5b73deb86aa1a6441:
5105 Member function template cannot be synchronized

Patch by rsinfu
2011-04-23 18:31:07 +02:00
David Nadlinger
907067c4e8 Merged DMD commit c7f94c6b66d3b4233ea01dd3dd9f0028b7118870:
5391 Crash with recursive alias declaration

When a recursive alias declaration is encountered, mark it as
type error (not just as an alias to itself of type error).
2011-04-23 18:29:18 +02:00
David Nadlinger
d7eead617e Merged DMD commit c7f94c6b66d3b4233ea01dd3dd9f0028b7118870:
5349 ICE(toir.c): nested class in static member function

When checking if a nested class can reach a parent class, it should not be
possible to jump through static functions. Static member functions were just
being silently ignored, which meant nonsense was passed to the backend.
(Didn't always cause an ICE, sometimes generates nonsense code).
2011-04-23 18:28:36 +02:00
David Nadlinger
3cf9988681 Merged DMD commit b46fe402cff4618f5d49f99d71b8fefb764e16e5:
Support HTML5 entities

Patch by ibuclaw and aziz.koeksal
2011-04-23 18:28:03 +02:00
David Nadlinger
3a9e13f2a7 Merged DMD commit ed05e53c187deb7feef7e542b1047dc98104840f:
Add link html entity document found by Aziz
2011-04-23 18:25:11 +02:00
David Nadlinger
1432a60a8b Merged DMD commit f8352960ff2b0533740e29e34bc86d632c8967bf:
4245 Declaring conflicting symbols in single function scope allowed

Merged D2->D1
2011-04-23 18:17:13 +02:00
David Nadlinger
2c0f68b5d2 Merged DMD commit 645b5d8797768bced8db0c32dfa03e9290d0ced0:
5248 CTFE Segfault when calling a function on an enum struct

Fix the D1 version of this bug, which causes a stack overflow
rather than a segfault:
compiler inserts assert(this, "null this") whereas for D2 it is
assert(&this, "null this")
2011-04-23 18:16:33 +02:00
David Nadlinger
8ba89d5187 Merged DMD commit 66a45813b0e88e3167ce8cf10a399951a95312e4:
5221 entity.c: Merge Walter's list with Thomas'

Merged from D2
2011-04-23 18:21:35 +02:00
David Nadlinger
68db93d40c Changed dmd/entity.c line endings to LF. 2011-04-23 18:20:59 +02:00
David Nadlinger
f0cc2ed42e Merged DMD commit c0d4f02e996e7913f729102a2c07eedcb015ba90:
4878 DDoc: Default arguments can break DDoc output

Merged from D2 into D1
2011-04-23 17:43:25 +02:00
David Nadlinger
6a77728578 Merged DMD commit 2b51411e9e8b7ca3e62747ffb6f96c94089cebcc:
4389 ICE(constfold.c) or wrong code: string~=dchar in CTFE

Was failing on D1 because dchar, wchar implicitly convert to char,
even if they don't fit. So we need to check for array~char BEFORE
we check for implicit conversion.
2011-04-23 17:40:23 +02:00