Tomas Lindquist Olsen
ecd8a2ac07
Support structs that are merely a forward reference. See mini/forwdecl1.d
2008-10-06 14:06:55 +02:00
Tomas Lindquist Olsen
f706098c56
Added -version=Tango in default llvmdc.conf
...
Fixed problem with array casts, all DWT modules needed for HelloWorld1 samples now compile. Still some linking issues.
2008-10-06 12:46:57 +02:00
Tomas Lindquist Olsen
62603c6aaf
Updated llvmdc-tango Rebuild profile, liblink was wrong
2008-10-06 10:23:25 +02:00
Christian Kamm
15e5f0e902
Fix x86_fp80 constants.
2008-10-06 09:07:35 +02:00
Christian Kamm
0de539868e
Fix TryFinally without body or finalbody.
2008-10-05 22:26:25 +02:00
Tomas Lindquist Olsen
81b93325ca
Added -nodefaultlib switch do disable implicitly linked standard lib modules
2008-10-05 18:55:43 +02:00
Tomas Lindquist Olsen
77e16a9302
Added test case for bug #100
...
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
2008-10-05 17:28:15 +02:00
Christian Kamm
f721aee1a4
Automated merge with http://hg.dsource.org/projects/llvmdc
2008-10-05 11:47:59 +02:00
Christian Kamm
2a999b72e8
Fix VarDecls for tuples. Closes #99 .
...
I've implemented it this way since it doesn't require any changes in the
frontend. However, I think having TypeTuple expressed as LLVM struct types
would make much more sense and open the door to tuple lvalues.
2008-10-05 11:47:47 +02:00
Tomas Lindquist Olsen
60cb084af7
Updated the Tango patch to latest revision. Removed problematic (Jarrett) include <cassert> from gen/runtime.cpp
2008-10-05 02:01:50 +02:00
Christian Kamm
40d0df8769
Portability changes to dmain2.d
2008-10-04 23:28:49 +02:00
Christian Kamm
35f6672bb6
Adjust dmain catch to print exception trace info.
2008-10-04 13:35:27 +02:00
Christian Kamm
87d885f840
Don't let outer enclosing handlers propagate to nested function declarations.
2008-10-04 12:32:09 +02:00
Christian Kamm
f4da5f4a89
Fix -oq, closes #96
...
Add value debug output to RealExp::toConstElem.
2008-10-03 19:24:46 +02:00
Christian Kamm
2f9b9dead7
Make default argument protection check not error for undefined protection.
...
Fix symbol visibility issues in Tango.
2008-10-03 17:31:16 +02:00
Christian Kamm
920aa77e64
Fiber support: clobber the registers we want restored on a context switch.
2008-10-03 09:11:41 +02:00
Christian Kamm
8113935dea
Made Fibers work with LLVMDC on x86 Posix.
2008-10-03 00:42:17 +02:00
Christian Kamm
b3d4bc83f8
Move check for access of context for nested class from backend into frontend.
2008-10-02 23:12:19 +02:00
Tomas Lindquist Olsen
e2a1394ae8
Added FreeBSD support to the -t switch
2008-10-02 03:38:29 +02:00
Tomas Lindquist Olsen
d0c5df393c
Applied the FreeBSD patch from Ralith, closes ticket #95 , slightly changed but basically the same. Thanx Ralith :)
2008-10-02 03:25:46 +02:00
Tomas Lindquist Olsen
e77e235307
updated tango patch so it compiles again with the latests check for using privates as default args for public functions.
2008-10-02 01:42:21 +02:00
Tomas Lindquist Olsen
efab6b8f2a
added test case for last commit (taking delegate of nested function of current function)
2008-10-02 01:38:00 +02:00
Tomas Lindquist Olsen
d0ff4494ac
Fixed problem with taking the delegate of a nested function of the current function.
2008-10-02 01:28:33 +02:00
Tomas Lindquist Olsen
daf14100ce
merge
2008-10-01 23:17:36 +02:00
Tomas Lindquist Olsen
bce9368514
Updated to latest LLVM trunk, function notes have been removed and merged with parameter attributes, which have been renamed to just attributes. Nothing seems to have broke!
2008-10-01 23:17:14 +02:00
Christian Kamm
a9285162f3
Automated merge with http://hg.dsource.org/projects/llvmdc
2008-10-01 21:14:20 +02:00
Christian Kamm
c4b523dc29
Nicer error message on some invalid default args.
2008-10-01 21:14:15 +02:00
Tomas Lindquist Olsen
e7ad7296d0
Fixed issue with IsExpression and potential type mismatch for classes.
2008-10-01 20:55:13 +02:00
Christian Kamm
32c4f92334
Detect a missing global before trying to const init it.
2008-10-01 20:32:12 +02:00
Christian Kamm
656b89db0f
Tango patch: xml document fixes and symbol visibility in gc
2008-10-01 19:19:26 +02:00
Christian Kamm
271012bcfc
Fix import visibility bugs 313 and 314.
2008-10-01 19:16:10 +02:00
Christian Kamm
cd99e773f0
Make typedef'ed complex types work.
2008-10-01 19:15:17 +02:00
Christian Kamm
77b5e841dd
Make invalid compile time casts an error instead of asserting.
2008-10-01 19:15:01 +02:00
Tomas Lindquist Olsen
04dd0ce3a7
merge
2008-10-01 18:33:21 +02:00
Tomas Lindquist Olsen
bcafbe169d
Wrapped all the most potentially expensive logging calls in a conditional to only do work when actually requested.
...
Commented some logging calls that could potentially write out many megabytes of type dumps.
2008-10-01 18:32:31 +02:00
Christian Kamm
7453182e49
Automated merge with http://hg.dsource.org/projects/llvmdc
2008-10-01 17:54:50 +02:00
Christian Kamm
5ab9350ab8
Fix downs' raytracer demo to use new intrinsics.
2008-10-01 17:54:44 +02:00
Tomas Lindquist Olsen
7b18b7a633
Implemented constant pointer casts (like casting function pointer to void* as a constant global initializer)
2008-09-28 21:09:21 +02:00
Tomas Lindquist Olsen
04f7c18f95
Removed some excessive llvm type logging
2008-09-28 15:22:39 +02:00
Christian Kamm
8645e103ef
Simplify complex number handling. Fixes bug with complex substraction.
2008-09-22 20:29:18 +02:00
Christian Kamm
9ce414c174
Fix NegExp not to use substraction.
2008-09-21 19:28:57 +02:00
Christian Kamm
2f479df1b2
Fix atomicIncr and atomicDecr. Probably.
...
The unittest for tango.core.Atomic now passes.
2008-09-21 18:41:27 +02:00
Christian Kamm
12c81a2ee3
Don't delete the header file after it has been generated!
2008-09-21 17:35:27 +02:00
Christian Kamm
4f7f53fa04
Add bool-special cases in tango.core.Atomic.
2008-09-21 17:23:17 +02:00
Christian Kamm
16c32afa18
Fix issue with EH table indices and nested try-catch.
2008-09-21 17:18:35 +02:00
Christian Kamm
bb47b7c4ce
Backed out changeset 1b62222581fb
...
Do not use i8 for bool. Instead rely on the target to store i1 as i8.
2008-09-21 14:45:41 +02:00
Christian Kamm
4b02533745
Change bool type to i8
2008-09-20 10:13:15 +02:00
Christian Kamm
a81a6367b4
Tango rev 3939 fixed the std.intrinsic issue.
2008-09-19 21:45:05 +02:00
Tomas Lindquist Olsen
14e9384b23
Removed dmdintrinsic.d from the runtime, we already have llvmdc.bitmanip.
...
Updated tango patch to import tango.core.BitManip instead of std.intrinsic.
2008-09-18 21:14:37 +02:00
Tomas Lindquist Olsen
6c5c7ee1c1
Fixed the optimizer thing, since llvm PR 2800 is already fixed, users need to upgrade LLVM to latest svn.
2008-09-18 21:07:35 +02:00