Commit Graph

  • c91aea5c66 [svn r244] added another asm test. Tomas Lindquist Olsen 2008-06-07 19:20:15 +02:00
  • 27634ea5b6 [svn r243] fixed inline asm arg_pointer args hopefully. Tomas Lindquist Olsen 2008-06-07 19:19:30 +02:00
  • 1af9e9814a [svn r242] fixed (I think) arg_pointer inline asm args Tomas Lindquist Olsen 2008-06-07 19:04:26 +02:00
  • 47ac84b223 [svn r241] Fixed missing terminator for void main() with inline asm block. Tomas Lindquist Olsen 2008-06-06 22:30:31 +02:00
  • cf4d71b02c [svn r240] do not crash on zero length constraints string Christian Kamm 2008-06-06 22:04:41 +02:00
  • 54b7134d78 [svn r239] also use indirect modifier for update constraints Christian Kamm 2008-06-06 21:51:40 +02:00
  • 5ee938ab0a [svn r238] use *m for memory input constraints and pass in their address Christian Kamm 2008-06-06 21:44:17 +02:00
  • b917fe2f00 [svn r237] some inline asm output now seems to work, see tangotests/asm2.d Tomas Lindquist Olsen 2008-06-06 20:51:43 +02:00
  • 346d04aa8a [svn r236] added initial codegen of inline asm, pretty buggy and incomplete still. see the tangotests/asm1.d test for a sample of what does work! Tomas Lindquist Olsen 2008-06-06 20:14:51 +02:00
  • 68d5150c1b [svn r235] rough port of GDC's inline assembler code, unfinished Christian Kamm 2008-06-05 19:22:37 +02:00
  • d72ed8f5eb [svn r234] Fixed: missed a few bogus #ifs in last revision. Tomas Lindquist Olsen 2008-06-05 06:43:34 +02:00
  • d03c3a7757 [svn r233] Added: -oq command line option for writing fully qualified object names. Added: started support for x86 80bit floating point. Changed: aggregates passed by value now use the llvm 'byval' parameter attribute, also lays ground work for using other attributes. Changed: eliminated a lot more std::vectorS, these showed up pretty much at the top when profiling! Changed: performed other misc. cleanups. Changed: halt expression now call the new llvm trap intrinsic instead of an assert(0). Changed: dstress suite now passes -O0 by default, this only eliminates unreferenced globals, which speeds up linking quite a bit. Tomas Lindquist Olsen 2008-06-05 06:38:36 +02:00
  • 1a41b9ef12 [svn r232] Added dstress test results for rev [231] . Tomas Lindquist Olsen 2008-06-03 22:32:59 +02:00
  • 590d44d302 [svn r231] Changed: warnings are no longer treated as an error. Added some comments and cleaned up CallExp::toElem a tiny bit. Fixed: struct literals always reported inplace assignment even if they allocated a temporary. Fixed: passing stuff to a D-style vararg which did inplace assignment was generated suboptimal code. Tomas Lindquist Olsen 2008-06-03 13:51:09 +02:00
  • d50cb50aaf [svn r230] Added vararg3 sample tangotest. Tomas Lindquist Olsen 2008-05-30 19:32:56 +02:00
  • b4bb3aaec4 [svn r229] Updated the object.d implementation to the latest Tango. Fixed a bunch of the built-in typeinfos for arrays, they did not inherit TypeInfo_Array. Applied patch to tango/text/convert/Layout.d by fvbommel, closes #47 . Cleaned up some type code. Replaced uses of llvm::Type with LLType (a typedef), same for Value and Constant. Fixed a few cases where typeinfo for user structs could be emitted multiple times, seems to still be some cases of this :/ Tomas Lindquist Olsen 2008-05-30 19:32:04 +02:00
  • 0b479b5749 [svn r228] Fixed: when new'ing basic types, the storage was not default initialized. Fixed: the tango/lib/compiler/llvmdc/llvmdc.mak makefile was a bit incorrect. Changed: the basic gc is now the default. Changed: renamed a few temporary names in the LLVM IR output. Tomas Lindquist Olsen 2008-05-27 22:14:24 +02:00
  • 6b735db510 [svn r227] Fixed: crash in lifetime.d when resizing array of AAs by .length assignment. Tomas Lindquist Olsen 2008-05-27 19:53:29 +02:00
  • a954f06e90 [svn r226] Fixed: deleting interface. Removed: unused util function for calling class destructors. Tomas Lindquist Olsen 2008-05-14 02:00:23 +02:00
  • 19748f09ec [svn r225] Fixed: delete expressions no longer use llvm's free instruction, which crashes on a GC provided pointer. Tomas Lindquist Olsen 2008-05-14 01:22:40 +02:00
  • bcc112e37f [svn r224] clean up temporaries after dstress has run Christian Kamm 2008-05-13 21:41:25 +02:00
  • 1eb35898c6 [svn r223] Fixed: assert with message could be broken. Fixed: array length exp could fail on slice. Tomas Lindquist Olsen 2008-05-13 21:40:39 +02:00
  • 39ed86269e [svn r222] Forgot to remove volatile ATTENTION. Fixed a few comment types. Forgot to add makefile for the basic GC. Tomas Lindquist Olsen 2008-05-13 18:07:03 +02:00
  • 3365b4c02f [svn r221] Update: Switched to the 2.3 LLVM svn branch, http://llvm.org/svn/llvm-project/llvm/branches/release_23 . Fixed: Implemented volatile statements. Uses the LLVM memory barrier intrinsic, closes #21 . Tomas Lindquist Olsen 2008-05-13 17:58:11 +02:00
  • 0d96635e19 [svn r220] Added: test results for [219] Tomas Lindquist Olsen 2008-05-13 16:16:50 +02:00
  • c380f43929 [svn r219] Fixed: the tango/lib/gc/basic garbage collector now compiles and links into an executable (change in tango/lib/llvmdc-posix.mak), closes #5 . Changed: removed the crappy realloc based dynamic memory runtime and started moving over to DMD style runtime support, part of moving to real GC. Fixed: dynamic arrays now use GC runtime for allocating memory. Fixed: new expression now use GC for allocating memory. Changed: revamped the dynamic array support routines related to dynamic memory. Fixed: assertions no longer create exsessive allocas. Changed: misc. minor cleanups. Tomas Lindquist Olsen 2008-05-13 14:42:09 +02:00
  • 2912480136 [svn r218] Added test results for [217] Tomas Lindquist Olsen 2008-05-12 23:49:07 +02:00
  • c571bf0f70 [svn r217] Updated: the rebuild profiles. Fixed: way to find class data fields was too strict type wise. Fixed: foreach resulting in an implicit delegate could fail. Tomas Lindquist Olsen 2008-05-12 22:44:25 +02:00
  • ee551c95b9 [svn r216] don't crash on foreach over zero-length static array Christian Kamm 2008-05-12 22:27:05 +02:00
  • 94e4a5b5a1 [svn r215] fix for empty class vtbl Christian Kamm 2008-05-12 21:08:33 +02:00
  • 77b4800c27 [svn r214] test results for [210] Christian Kamm 2008-05-12 20:28:44 +02:00
  • 941e36fa47 [svn r213] Fixed: foreach on an object seems to have been broken, the issue was that DMD generates an implicit delegate with conflicting types for 'this'. Fixed: string switch runtime support had wrong param types. Fixed: string switch on a temporary slice was broken. Tomas Lindquist Olsen 2008-05-12 20:02:52 +02:00
  • 300fb29905 [svn r212] Updated the readme (said llvm 2.1) Tomas Lindquist Olsen 2008-05-12 19:10:41 +02:00
  • 1742d02e54 [svn r211] Added readme in phobos dir. Tomas Lindquist Olsen 2008-05-12 19:08:22 +02:00
  • 2317c6fd39 [svn r210] Fixed: last commit was broken. Tomas Lindquist Olsen 2008-05-12 18:48:09 +02:00
  • 9f3be435b0 [svn r209] Fixed: exotic array to pointer casts were broken. Changed: classes now have opaque vtables. Tomas Lindquist Olsen 2008-05-12 18:44:11 +02:00
  • 7c78e3665b [svn r208] const init interface vtbls to nonzero values only for nonabstract classes Christian Kamm 2008-05-12 18:22:55 +02:00
  • bbda029bd6 [svn r207] Fixed: the runtime support didn't handle string switch. Tomas Lindquist Olsen 2008-05-12 14:58:55 +02:00
  • f1c26350ca [svn r206] Fixed some interfaceInfo related issues, closes #44 Tomas Lindquist Olsen 2008-05-12 14:32:29 +02:00
  • 8d81154a97 [svn r205] moved some local static variables used for memset and memcpy intrinsics to IrState Christian Kamm 2008-05-10 19:00:11 +02:00
  • 5af7719265 [svn r204] Don't run complex dstress tests, they seem to be broken. Christian Kamm 2008-05-10 06:44:57 +02:00
  • 788a35a072 [svn r203] moving tests into separate folder, added readme Christian Kamm 2008-05-08 22:49:28 +02:00
  • c045b09c33 [svn r202] added start of dstress-based test suite to tests/ Christian Kamm 2008-05-08 22:32:22 +02:00
  • 81ae45afe8 [svn r201] Fixed: return statement could fail codegen with type mismatch for classes, added cast. Tomas Lindquist Olsen 2008-05-07 22:27:45 +02:00
  • fa30c42921 [svn r200] Fixed: removed use of std.intrinsic. Fixed: module info could potentially be masked by a previous reference, resulting in linking failure. Tomas Lindquist Olsen 2008-05-07 22:01:59 +02:00
  • 3678dabfd9 [svn r199] Fixed: still some small issues with string literals implicitly converting to different pointer types. Should be fixed now! Tomas Lindquist Olsen 2008-05-07 20:22:42 +02:00
  • d6db7fc03d [svn r198] Fixed: doing a length-changing cast of a full slice segfaulted. eg: int[] ia = [1,2,3]; byte[] ba = cast(byte[])ia[]; Tomas Lindquist Olsen 2008-05-07 19:54:01 +02:00
  • 0dd975e1f4 [svn r197] Fixed: empty scope statement segfaulted. Tomas Lindquist Olsen 2008-05-07 19:34:41 +02:00
  • 61968dc9a3 [svn r196] Added C++ version of the ray demo for comparing. Tomas Lindquist Olsen 2008-05-07 18:46:56 +02:00
  • e9d37af78a [svn r195] fixed some tango bugs (tango ticket 1093). Tomas Lindquist Olsen 2008-05-07 05:45:25 +02:00
  • 44f53bc164 [svn r194] Fixed: string literal constant expressions with static array type was broken. Tomas Lindquist Olsen 2008-05-07 05:02:48 +02:00
  • 24bd9034c3 [svn r193] Fixed: abstract classes implementing interfaces now output proper Interface info arrays. (null vtables). Did a little renaming of delegate utils. Tomas Lindquist Olsen 2008-05-07 04:45:51 +02:00
  • 50db9be203 [svn r192] Fixed: String literals as constant expression was broken for utf16/32. Tomas Lindquist Olsen 2008-05-07 00:58:36 +02:00
  • c31af3dc2d [svn r191] Fixed: array literals did not support all type/storage combinations. Fixed: with expression had broke somewhere along the way. Tomas Lindquist Olsen 2008-05-07 00:01:13 +02:00
  • e07b99bc26 [svn r190] Fixed array concatenation for some broken cases. Added a sanity check for the Dsymbol state set. Tomas Lindquist Olsen 2008-05-06 18:36:46 +02:00
  • 0fba6312c2 [svn r189] moving IR data back into DMD frontend nodes Christian Kamm 2008-05-06 07:56:03 +02:00
  • f716b18cc1 [svn r188] Fixed using a dereferenced pointer argument as both l- and r-value. fixes tango.io.FileRoots. Reorganized the tangotests dir a bit. Tomas Lindquist Olsen 2008-05-06 07:26:27 +02:00
  • d3b57eaf60 [svn r187] Fixed missing definitions of instances of imported struct template declarations. Tomas Lindquist Olsen 2008-05-06 05:25:53 +02:00
  • 0269b4de6e [svn r186] Fixed 'delete this'. Tomas Lindquist Olsen 2008-05-06 03:46:43 +02:00
  • 93a632c7c2 [svn r185] Fixed broken nested classes with data members, did DMD change the class layout? tango.text.Regex now compiles. Commented some of the *very* verbose logging for -vv option. Tomas Lindquist Olsen 2008-05-06 03:07:21 +02:00
  • 88d497a936 [svn r184] fixed an AA helper for giving keys storage, which the runtime needs. tango.text.UnicodeData now compiles. Tomas Lindquist Olsen 2008-05-06 02:26:17 +02:00
  • 5a7ce71b18 [svn r183] Fixed broken identity expressions with two pointers of different types. Fixed broken pointer arithmetic for subtraction (tango.text.Util unittest now passes) Tomas Lindquist Olsen 2008-05-06 01:23:02 +02:00
  • 4ff2afa9a6 [svn r182] Oups, the PGM output for the raytracer demo was borked. Tomas Lindquist Olsen 2008-05-06 00:03:55 +02:00
  • 2afd09b9e1 [svn r181] Updated the raytracer demo by downs to work with tango :) My quick benchmarking shows it to be around 65% faster than DMD :D Tomas Lindquist Olsen 2008-05-05 22:20:07 +02:00
  • 071bf5a629 [svn r180] Fixed complex negation, and tango.math.Math now compiles. Tomas Lindquist Olsen 2008-05-05 20:28:59 +02:00
  • a0c6cb6673 [svn r179] lots and lots of fixes, much more of tango now compiles/works. Tomas Lindquist Olsen 2008-05-05 07:36:29 +02:00
  • 06362014f4 [svn r178] Fixed codegen values for function arguments, the old approach was completely broken, amazing it even worked... Tomas Lindquist Olsen 2008-05-05 00:56:53 +02:00
  • db2b3d1937 [svn r177] moved variable for interface info type from being local static to being within IRState Christian Kamm 2008-05-04 21:25:48 +02:00
  • a522719b85 [svn r176] Fixed a bug with class constructors. Tomas Lindquist Olsen 2008-05-04 04:35:27 +02:00
  • 7ae4bc6477 [svn r175] merged dmd 1.029 Christian Kamm 2008-05-01 15:15:28 +02:00
  • 4cd137f9d4 [svn r174] added file missing from previous commit [173] Christian Kamm 2008-05-01 13:33:02 +02:00
  • 91ae70e969 [svn r173] moved IR state previously stored in Type into IrType and a Type->IrType map; fixes #7 Christian Kamm 2008-05-01 13:32:08 +02:00
  • 24726394f6 [svn r172] moving all IR state previously stored in Dsymbol into IrDsymbol and a Dsymbol->IrDsymbol map Christian Kamm 2008-05-01 13:05:53 +02:00
  • 48f1a9c507 [svn r171] starting to move IR data from AST nodes into IRState; started with IrFunction Christian Kamm 2008-04-29 21:33:50 +02:00
  • 12f62569cd [svn r160] Added cleaned version of dmd's linux exception runtime Christian Kamm 2008-03-25 18:25:24 +01:00
  • 2eb0babc2e [svn r159] added some code to help diagnose ticket #35 Tomas Lindquist Olsen 2008-03-25 16:33:19 +01:00
  • 3804b99e41 [svn r158] fixed bug with console integer output: buffer was too small Christian Kamm 2008-03-24 20:49:21 +01:00
  • cc914ed4b2 [svn r157] Fixed the nasty type==NULL bug :D Tomas Lindquist Olsen 2008-03-24 20:48:40 +01:00
  • 24392c4903 [svn r156] added a testcase for the most annoying bug ever Tomas Lindquist Olsen 2008-03-24 20:05:44 +01:00
  • ecd91a48f2 [svn r155] Fixed a bunch of linkage problems (especially with templates) Tomas Lindquist Olsen 2008-03-24 19:43:02 +01:00
  • 402ce90e19 [svn r154] renaming enclosingtry to enclosingtryfinally to distinguish it from enclosingtrycatch, which will probably need to be added for exception handling Christian Kamm 2008-03-22 12:20:32 +01:00
  • de63966a59 [svn r152] Relates to ticket #34. Always emit class definition if it is a template instance. Linkage still needs to be fixed. Christian Kamm 2008-03-13 18:37:52 +01:00
  • 1af2b2169a [svn r151] fixed #29: out contracts work now Christian Kamm 2008-03-10 19:29:39 +01:00
  • b0a44173dc [svn r150] fixes #16 and #17, implements GotoCaseStatement Christian Kamm 2008-03-08 15:22:07 +01:00
  • 64537a9478 [svn r149] fixed: a bunch of D-style variadics problems. fixed: GotoDefaultStatement implemented. fixed: some other minor bugs. Tomas Lindquist Olsen 2008-01-26 17:13:22 +01:00
  • adc75dd377 [svn r147] tango.io.Console is now working. True this time :) Yay! Tomas Lindquist Olsen 2008-01-25 01:42:36 +01:00
  • be7828b589 [svn r146] fixed some potential problems with mismatch in order of interfaces in class data layout Tomas Lindquist Olsen 2008-01-23 15:48:19 +01:00
  • f9685eab09 [svn r145] fixed some x86 problems Tomas Lindquist Olsen 2008-01-23 12:58:51 +01:00
  • 0c0bac2766 [svn r144] fixes Tomas Lindquist Olsen 2008-01-23 12:56:09 +01:00
  • 94c47aa1fa [svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :) Fixed: tango.io.Console seems to be working now. Tomas Lindquist Olsen 2008-01-22 00:01:16 +01:00
  • 7825be29ee [svn r142] minor fix to dynamic casts. added a few missed files. Tomas Lindquist Olsen 2008-01-18 20:13:19 +01:00
  • 17247d63e7 [svn r141] fixed more problems with classinfo Tomas Lindquist Olsen 2008-01-18 16:42:16 +01:00
  • 5652546986 [svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though Tomas Lindquist Olsen 2008-01-17 03:15:12 +01:00
  • 4f977e3cec [svn r139] Fixed bug #33, thanks for the report :) Tomas Lindquist Olsen 2008-01-14 23:09:55 +01:00
  • 1f5760b5af [svn r138] forgot the latest tests Tomas Lindquist Olsen 2008-01-14 05:32:24 +01:00
  • 4505b9b006 [svn r137] Many fixes towards tango.io.Console working, but not quite there yet... In particular, assertions has been fixed to include file/line info, and much more! Tomas Lindquist Olsen 2008-01-14 05:11:54 +01:00
  • b15b3484c8 [svn r136] MAJOR UNSTABLE UPDATE!!! Tomas Lindquist Olsen 2008-01-11 17:57:40 +01:00
  • bc08c6fcb1 [svn r135] * Merged DMD 1.025 * * Fixed a minor linking order mishap * * Added an command line option -annotate * * Fixed some problems with running optimizations * * Added std.stdio and dependencies to lphobos (still not 100% working, but compiles and links) * * Fixed problems with passing aggregate types to variadic functions * * Added initial code towards full GC support, currently based on malloc and friends, not all the runtime calls the GC yet for memory * * Fixed problems with resolving nested function context pointers for some heavily nested cases * * Redid function argument passing + other minor code cleanups, still lots to do on this end... * Tomas Lindquist Olsen 2008-01-04 01:38:42 +01:00
  • 4428e47a66 [svn r134] Merged the DMD 1.024 frontend. Tomas Lindquist Olsen 2007-12-28 23:52:40 +01:00
  • 5eb88f9e80 [svn r133] Fixed some problems with inlining not happening :P Tomas Lindquist Olsen 2007-12-28 22:55:24 +01:00