Commit Graph
765 Commits
Author SHA1 Message Date
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
Tomas Lindquist Olsen c4c1c1d72e Added initial D2 support, D2 frontend and changes to codegen to make things compile. 2008-11-11 01:38:48 +01:00
Christian Kamm fe49ee6448 Special case DtoCastInt for bool. 2008-11-10 20:55:24 +01:00
Christian Kamm bc80a83666 Merge wilsonk's x86-64 inline assembly. 2008-11-08 22:29:19 +01:00
Christian Kamm d41bcb5312 Merge in most of x86-64 tango patch. 2008-11-08 11:34:35 +01:00
Christian Kamm 10289513be Update tango patch to latest tango revision. 2008-11-08 10:22:08 +01:00
Christian Kamm c0bf614e31 Switch to Elrood's rewritten CMakeLists.txt. 2008-11-05 16:53:03 +01:00
Christian Kamm ca6b37cd38 Enable function parameter debug info for a wider range of args. 2008-11-03 15:23:22 +01:00
Christian Kamm 16b38a7fef Fix compile-time warnings. Adjust include in d-asm-i386. 2008-11-03 12:35:29 +01:00
Christian Kamm 9688b4c9a7 Improve CMake build file. 2008-11-03 12:25:25 +01:00
Christian Kamm 9e370d7612 Add basic CMake build file. 2008-11-02 21:47:31 +01:00
Christian Kamm 437aa0d4aa Fix bug in array_cast_len. Makes tango.text.Regex work. 2008-11-02 18:36:28 +01:00
Tomas Lindquist Olsen 173639bdec Added DtoRawVarDeclaration routine to handle special variables in some statements. 2008-11-01 18:25:10 +01:00
Christian Kamm 51385239e8 asm4 fix. 2008-11-01 17:56:25 +01:00
Christian Kamm 5b17d36ce2 Tried using DtoDeclarationExp for VarDecls in Statements to fix nesting issues
(see bug #104), but a separate helper that doesn't initialize would be nicer.
2008-11-01 16:48:17 +01:00
Christian Kamm ba754255d9 Fix minitest breakage from the x86-64 patch. 2008-11-01 14:41:57 +01:00
Christian Kamm 9fcc2d85a2 Add test for accessing foreachval in nested func. Reason for #104. 2008-10-31 18:17:28 +01:00
Christian Kamm d3f190822c Fix REALSIZE, REALPAD and alignment of double and real for x86-64. 2008-10-30 15:58:58 +01:00
Christian Kamm 891d17e4b5 Applied easy part from wilsonk's x86-64 patch in #107 2008-10-30 11:08:34 +01:00
Christian Kamm e625829f0f Automated merge with http://hg.dsource.org/projects/ldc 2008-10-30 10:17:05 +01:00
Christian Kamm 36a98404ae Fix accidental double-inreg caused by shared TupleType. Enabled inreg by default. 2008-10-30 10:16:37 +01:00
Christian Kamm 0e5d9f970b Add explicit uint->char cast to get rid of warning. 2008-10-30 10:15:42 +01:00
Tomas Lindquist Olsen 6cf5ca6aba Removed warnings on ignored aligns. Only do aligment on packed structs, align(1) struct Packed { ... }
Changed the way struct/class fields are added, first small part of cleaning up these...
Make struct/class/union fields aware of any anonymous struct/union they might be part of, not yet really useful, but part of getting better union support.
2008-10-28 15:41:09 +01:00
Christian Kamm 07f35424f1 Fix debug path. 2008-10-27 17:42:38 +01:00
Tomas Lindquist Olsen 6b9e85df48 Attempt at getting LLVM to provide a proper target data layout. Should assert now if things are borked.
Added untested support for Thumb target.
2008-10-27 17:37:34 +01:00
Christian Kamm 29dfacde9a Fold in mandel's patch for ARM from #106 2008-10-27 16:36:59 +01:00
Tomas Lindquist Olsen f89592b354 Nested access to with statement should work now. fixes #105 2008-10-27 01:40:47 +01:00
Tomas Lindquist Olsen fdc172377e Fixed tuple fields, thanx downs 2008-10-27 01:11:41 +01:00
Christian Kamm b3b98c3284 Fix broken indentation from last commit. 2008-10-26 21:18:24 +01:00
Christian Kamm d3bb0b74bd Enable arg reversal on x86 by default. Make change to TypeInfo_Struct.compare to accomodate for it. 2008-10-26 21:16:21 +01:00
Christian Kamm 4c12540497 Always add trailing slash to source path for debug info. 2008-10-26 17:31:05 +01:00
Christian Kamm cfcda83291 Change _d_newclass into _d_allocclass. Add initialization to ClassInfo.create. 2008-10-26 14:12:03 +01:00
Christian Kamm b8bd953dcf Change default to not using inreg. 2008-10-26 14:11:14 +01:00
Christian Kamm 2885e645d1 Add test for broken ClassInfo.create method. Thanks MrSunshine. 2008-10-26 13:41:03 +01:00
Christian Kamm 4d7af01374 Fix double field toObjFile for structs with AttribDecls. 2008-10-25 22:07:20 +02:00
Tomas Lindquist Olsen 80e29f86e4 Disabled parameter reversing by default, it broke mini/typeinfo10.d
Fixed 'inreg' property placement for functions with reversed parameters.
Made parameter reversal and inreg passing of first arg configurable in premake.lua
2008-10-25 18:12:07 +02:00
Tomas Lindquist Olsen 3c3a5dda14 Implemented correct parameter order according to x86-32 ABI documentation.
Changed AA types to just a void* .
2008-10-25 06:03:28 +02:00
Tomas Lindquist Olsen 5ed0ab3ab8 Commented that codegen: <modulename> printf ... 2008-10-23 19:42:55 +02:00
Tomas Lindquist Olsen 4b82b7a729 Make extern(System) configure the calling convention on LDC runtime, not when building LDC. 2008-10-23 19:38:01 +02:00
Tomas Lindquist Olsen f71b7ac284 Added inreg attribute where appropriate on x86 to follow ABI docs.
Removed now unnecessary temporary variable in StringExp.
2008-10-23 00:34:46 +02:00
Tomas Lindquist Olsen a52f0330d0 Implemented first class delegates. closes #101 2008-10-22 21:50:08 +02:00
Christian Kamm 42ae090eaf Make sure debug info has correct file name and path. 2008-10-22 20:00:57 +02:00
Tomas Lindquist Olsen 5ad345646a Merged DMD 1.036.
Improved comments a little in the runtime source code.
2008-10-22 17:06:17 +02:00
Tomas Lindquist Olsen 7be6ac6b36 Turned unimplemented align error into a warning instead. 2008-10-22 15:35:46 +02:00
Tomas Lindquist Olsen f7ea1da010 Removed TypeOpaque from DMD.
Changed runtime functions taking opaque[] to void[].
Implemented proper type painting, to avoid "resizing" array casts in runtime calls that previously took opaque[].
Implemented dynamic arrays as first class types, this implements proper ABI for these types on x86.
Added dwarf region end after call to assert function, fixes some problems with llvm not allowing this to be missing.
Reverted change to WithStatement from rev [704] it breaks MiniD, mini/with2.d needs to be fixed some other way...
Fixed tango bug 1339 in runtime, problem with _adReverseChar on invalid UTF-8.
Disabled .bc generation in the compiler runtime part, genobj.d triggers some llvm bug when using debug info. the .o seems to work fine.
2008-10-22 14:55:33 +02:00