elrood
81eded2ece
when building the runtime pass -fPIC for shared libs and -disable-invariants for gc
2008-11-30 19:19:39 +01:00
Christian Kamm
c451f100f5
Add interface minitest, rework s.d.
2008-11-30 11:54:18 +01:00
Christian Kamm
f14d97d786
Move storage of final vtbl from BaseClass to IrInterface: BaseClass instances are shared!
...
Always use the target's irstruct interfaceMap when building the const initializer.
Tango helloworld works again.
2008-11-30 11:25:40 +01:00
Tomas Lindquist Olsen
dcf3c96f65
Ensure all logging of llvm values/types is only called when -vv is passed
2008-11-29 23:39:04 +01:00
Tomas Lindquist Olsen
d522fef71f
Removed use of DMD's toPrettyChars function for providing llvm value names.
2008-11-29 22:37:36 +01:00
Tomas Lindquist Olsen
5d1366d27f
Removed DtoConstFieldInitializer, it's no longer needed and was buggy.
2008-11-29 21:26:50 +01:00
Tomas Lindquist Olsen
4da2cf066e
Fixed some problems with the addZeros forward declarations having type mismatches.
2008-11-29 20:57:52 +01:00
Tomas Lindquist Olsen
3a2e29d434
merge
2008-11-29 18:28:32 +01:00
Tomas Lindquist Olsen
13e0399ab0
Changed aggregate field initializers to be created lazily, fixes problem with static void arrays in aggregates.
2008-11-29 18:28:17 +01:00
Tomas Lindquist Olsen
f46f865375
Removed KDevelop3 project files, CMake can generate them just fine!
...
Fixed function literals in static initializers.
Changed alignment of delegates from 2*PTRSIZE to just PTRSIZE.
Changed errors to go to stderr instead of stdout.
Fairly major rewriting of struct/union/class handling, STILL A BIT BUGGY !!!
2008-11-29 21:25:43 +01:00
Christian Kamm
497c7e87df
Do put zero in vtable initializer for function without body in abstract class.
2008-11-29 17:13:38 +01:00
Christian Kamm
ca91c52c5a
Use toParent instead of toParent2 to determine whether inside a function body.
2008-11-29 17:06:36 +01:00
Christian Kamm
049e24cef8
Error instead of assert when trying to build a default initializer for void[n].
2008-11-29 12:28:10 +01:00
Christian Kamm
1b16f2234e
Adjust Tango patch for Tango rev 4134.
2008-11-28 23:29:00 +01:00
Christian Kamm
cdbc4f84d2
Fix warnings on x86-64. By fvbommel.
2008-11-28 21:24:08 +01:00
Christian Kamm
cc6bde46f9
Attempt at fixing #126 .
2008-11-27 18:31:09 +01:00
Christian Kamm
18e51d1c3f
Automated merge with http://hg.dsource.org/projects/ldc
2008-11-27 17:43:20 +01:00
Christian Kamm
fed06d6de8
Apply Elrood's CMake patch from #132 .
2008-11-27 17:41:49 +01:00
Tomas Lindquist Olsen
6ed62218db
Updated tango patch, the object.di changes are now in tango trunk
2008-11-27 02:16:55 +01:00
Christian Kamm
910280a3e8
Use LLVM package string for llvm version info in D2 frontend too.
2008-11-26 19:44:06 +01:00
Christian Kamm
d260cab7e9
Print llvm package string in version header. See #128 .
2008-11-26 19:40:11 +01:00
Christian Kamm
5b2a380680
Fix StdCall selection.
2008-11-25 17:15:02 +01:00
Christian Kamm
b905f290ba
Add missing CMakeList, apply conf changes to dmd2 frontend.
2008-11-24 20:02:59 +01:00
Christian Kamm
375b6cd888
Apply Elrood's CMake changes from #124 . Thanks a lot!
2008-11-24 18:17:58 +01:00
Christian Kamm
0120dd767c
Fix float->bool, #130 . Thanks fvbommel.
2008-11-23 21:57:11 +01:00
Christian Kamm
ed8199384d
hgignore updates for CMake.
2008-11-22 21:11:26 +01:00
Christian Kamm
a08f244733
Don't use StdCall on Windows.
2008-11-22 21:08:00 +01:00
Christian Kamm
70c8174303
Strip test binaries.
2008-11-22 21:06:33 +01:00
Christian Kamm
cb3e057631
Move tuple syntax copy for function arguments after semantic, to make sure
...
->ty contains the final value. Fixes run/t/tuple_20_A again.
2008-11-22 18:45:09 +01:00
Christian Kamm
ac28509bde
Fix return type of OrOr and AndAndExp being set incorrectly if rhs is void. Thanks wilsonk!
2008-11-22 18:38:13 +01:00
Christian Kamm
6efc9a3324
Get rid of DtoBoolean - use DtoCast(... Type::tbool) instead.
...
Fixed some casts to bool that were using truncation.
2008-11-22 18:35:52 +01:00
Christian Kamm
660ca009b9
Include x86-32 fiber fixes in tango patch again.
2008-11-22 13:41:36 +01:00
Tomas Lindquist Olsen
f6c2e59bef
tango patch fix
2008-11-20 17:20:00 +01:00
Tomas Lindquist Olsen
9cad63844f
Updated Tango patch for latest trunk
2008-11-20 17:03:18 +01:00
Tomas Lindquist Olsen
192edc9995
Fixed problem with continue/break in unrolled loop statements.
2008-11-19 14:40:24 +01:00
Christian Kamm
b172c4a668
Fix RawVarDecl double codegen bug. Thanks to downs for the testcase.
2008-11-18 18:07:57 +01:00
Christian Kamm
ccd8810e68
Fix bug reported by downs. Related to delegate types within tuple template parameters.
2008-11-18 17:14:57 +01:00
Tomas Lindquist Olsen
41d9e79780
Fixed 64bit problem with aaValues runtime calls (assumed 32bits)
2008-11-16 20:42:45 +01:00
Christian Kamm
1228595e7e
Cast result of ...AssignExp to type the frontend expects if necessary. Fixes #116 .
2008-11-14 16:26:12 +01:00
Tomas Lindquist Olsen
7b1d4cf975
D2: forgot the main makefile ... :(
2008-11-12 06:35:20 +01:00
Tomas Lindquist Olsen
98ff1c8b54
Updated runtime README a bit.
...
Messed up the druntime patch earlier :/
2008-11-12 06:26:45 +01:00
Tomas Lindquist Olsen
4d982f821d
D2: forgot to revert some changes made for testing last fix...
2008-11-12 05:43:12 +01:00
Tomas Lindquist Olsen
d077bbc5e6
D2: Fixed global constants not initialized until module constructor.
2008-11-12 05:40:31 +01:00
Tomas Lindquist Olsen
5d9854aaff
Fixed 32bit assumption in statement.c when calling aaApply(2).
2008-11-12 07:41:56 +01:00
Tomas Lindquist Olsen
32f99e7091
Forgot D2 versioning on typeinfo change.
2008-11-12 07:23:34 +01:00
Tomas Lindquist Olsen
582deb9827
D2 changes!
...
Removed druntime from the repository again.. Sorry :/
Updated the druntime port a bit, now requires druntime from trunk.
Added info in runtime/README on how to get druntime from trunk.
Added patch to add LDC support to druntime.
Removed some debug logging from D2 builds.
Fixed broken typeinfo for const/invariant in D2.
2008-11-12 07:22:05 +01:00
Christian Kamm
fae4b56ec3
Fix up hgignore to not match to much.
2008-11-11 22:57:19 +01:00
Tomas Lindquist Olsen
c36bd9f4b0
Applied fvbommel's patch from #112
...
Added missing TypeInfoInvariant codegen for D2
2008-11-12 02:30:28 +01:00
Tomas Lindquist Olsen
90474ba1c3
Seems like hg ignores .di files, so I missed a bunch of stuff. complete druntime should be there now :)
2008-11-12 00:19:18 +01:00
Tomas Lindquist Olsen
d56f952a84
Added copy of druntime from DMD 2.020 modified for LDC.
2008-11-11 01:52:37 +01:00