David Nadlinger
288fd47707
Merged 1.075 frontend.
2012-11-24 21:10:13 +01:00
kai
1c6ff32d50
Merge dmd-1.074 into ldc.
2012-04-13 23:12:46 +02:00
kai
f1998a6110
Minimize differences between original dmd source and ldc1.
...
Mainly affects formatting but I also found some code differences.
2012-04-10 21:52:12 +02:00
kai
8a20415cd1
Fix white space.
2012-03-06 07:28:29 +01:00
kai
a23b837ebd
Merge dmd-1.073.
2012-02-23 20:41:22 +01:00
kai
f9201e8352
Merge 1.072
2012-02-02 03:13:27 +01:00
Robert Clipsham
65c892ee62
Merge SiegeLord's dmdfe 1.064 patch.
2011-01-01 21:23:08 +00:00
Moritz Warning
c4e255206a
fixes #431 :: apply DMDFE 1.062; thanks SiegeLord
2010-09-27 00:06:28 +02:00
Moritz Warning
ac5180b65b
fixes #426 :: detab'ing the DMDFE source; kudos SiegeLord
2010-09-05 19:04:26 +02:00
Robert Clipsham
daa102a5cd
Merge dmd 1.056.
2010-02-06 15:53:52 +00:00
Leandro Lucarella
063c55f49f
Merge DMD r318: bugzilla 2029 Typesafe variadic functions don't...
...
bugzilla 2029 Typesafe variadic functions don't work in CTFE.
---
dmd/aggregate.h | 1 +
dmd/struct.c | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
2010-01-06 15:18:22 -03:00
Leandro Lucarella
7d2c329195
Merge DMD r243: some harmonization with D2 dmd
...
---
dmd/aggregate.h | 24 ++++-
dmd/attrib.c | 63 ++++++----
dmd/attrib.h | 10 +-
dmd/declaration.h | 5 +-
dmd/func.c | 337 ++++++++++++++++++++++-------------------------------
dmd/mars.c | 2 +-
dmd/mars.h | 7 +
dmd/mtype.h | 13 ++-
dmd/parse.c | 32 ++++-
dmd/parse.h | 14 ++-
dmd/scope.h | 2 +-
11 files changed, 263 insertions(+), 246 deletions(-)
2010-01-06 15:18:19 -03:00
Christian Kamm
3479e91996
Merge DMD 1.051
2009-11-06 23:58:01 +01:00
Christian Kamm
72d1f1e6dd
Make the auto storage class never have the same meaning as scope.
...
This changes the meaning of
auto class MyClass {} and
auto MyClass ident;
Both have been made an error to prevent accidents.
2009-07-12 16:15:21 +02:00
Frits van Bommel
96fdcd6347
Run semantic3 on imported modules, and emit new symbols with
...
`available_externally` linkage. This allows the inliner to inline functions from
other modules while telling the code generator to ignore those functions (treat
them as declarations)
Still generates a few extra `TypeInfo`s and strings...
Disabled when generating debug info because I don't really understand it, and it
doesn't like this.
2009-06-07 16:00:13 +02:00
Tomas Lindquist Olsen
e8780d50e8
Merged DMD 1.045 !!!
2009-05-16 22:21:31 +02:00
Tomas Lindquist Olsen
daef67acc3
Changed use of toObjFile to a new codegen method.
...
More versioning of DMD specific codegen code.
2009-03-27 17:54:27 +01:00
Tomas Lindquist Olsen
c42c90ea80
* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
...
* Added #if IN_DMD versioning around DMD backend specific code in the D1 frontend, D2 is currently broken.
* All part of a greater cleanup scheme.
2009-03-26 20:45:53 +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
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
Tomas Lindquist Olsen
832504e5d7
[svn r357] Merged DMD 1.033
2008-07-12 19:38:31 +02:00
Christian Kamm
7ae4bc6477
[svn r175] merged dmd 1.029
2008-05-01 15:15:28 +02:00
Christian Kamm
24726394f6
[svn r172] moving all IR state previously stored in Dsymbol into IrDsymbol and a Dsymbol->IrDsymbol map
2008-05-01 13:05:53 +02:00
Tomas Lindquist Olsen
17247d63e7
[svn r141] fixed more problems with classinfo
...
moved more IR state out of the AST classes
2008-01-18 16:42:16 +01:00
Tomas Lindquist Olsen
5652546986
[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
2008-01-17 03:15:12 +01:00
Tomas Lindquist Olsen
ea362d8402
[svn r125] Renamed/moved a few backend member inside DMD structures for consistency.
...
Unit tests are now implemented.
2007-11-27 03:09:36 +01:00
Tomas Lindquist Olsen
c99938debf
[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up.
...
Basically it tries to do the following in order: Resolve types, Declare symbols, Create constant initializers, Apply initializers, Generate functions bodies.
ClassInfo is now has the most useful(biased?) members working.
Probably other stuf...
2007-11-18 06:52:57 +01:00
Tomas Lindquist Olsen
d1cfe9524c
[svn r104] TONS OF FIXES.
...
Split up declaration, constant initializer gen and definition for globals, structs, classes and functions.
Improved ClassInfo support (not complete), not in vtable yet.
Fixed a bunch of forward reference problems.
Much more. Major commit! :)
2007-11-16 08:21:47 +01:00
Tomas Lindquist Olsen
feff45cadd
[svn r100] Moved test/ray.d to demos/ray.d.
...
Cleanups.
2007-11-12 07:58:44 +01:00
Tomas Lindquist Olsen
34d9e12020
[svn r92] Fixed support for statically initialized unions. lots of bugfixes as cleanups too.
2007-11-06 10:03:14 +01:00
Tomas Lindquist Olsen
0979d55d26
[svn r81] Fixed: Union support was very buggy. Should be fairly solid now.
2007-10-31 09:34:18 +01:00
Tomas Lindquist Olsen
9804fe0fa3
[svn r77] Fixed foreach on slice.
...
Fixed some nested function problems when accessing outer function parameters.
Major changes to handling of structs.
Initial support for unions.
Probably more...
2007-10-31 03:11:32 +01:00
Tomas Lindquist Olsen
4230f2ef11
[svn r76] Fixed: TypeInfo for structs.
...
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
2007-10-29 03:28:12 +01:00
Tomas Lindquist Olsen
039bc0880d
[svn r58] Fixed cond expression resulting in a non-basic type.
...
Fixed identity expression for dynamic arrays.
Revamped the system to keep track of lvalues and rvalues and their relations.
Typedef declaration now generate the custom typeinfo.
Other bugfixes.
2007-10-24 01:37:34 +02:00
Tomas Lindquist Olsen
e251fc42b2
[svn r39] * Updated to DMD 1.022 with the exception of:
...
Bugzilla 278: dmd.conf search path doesn't work
This fix was causing crashes for me :/ So for it's the old behaviour
2007-10-09 06:21:30 +02:00
Tomas Lindquist Olsen
24c3e2649a
[svn r28] * Fixed accessing aggregate fields. it was still not quite right. hopefully is now :)
2007-10-04 10:13:21 +02:00
Tomas Lindquist Olsen
1609cb80d4
[svn r12] fixed accessing aggregate fields of aggregates
...
removed some useless branches for successive scopes ala {}{}{}
2007-09-27 06:03:06 +02:00
Tomas Lindquist Olsen
34699bbb07
[svn r5] Initial commit. Most things are very rough.
2007-09-01 21:43:27 +02:00