Commit Graph

1132 Commits

Author SHA1 Message Date
Alexey Prokhin
d128210f23 Fixed initialization of a struct with an array from another struct 2011-01-02 17:42:59 +03:00
Alexey Prokhin
4b34601a79 Make sure that a l-value of a binassign expressions is only evaluated once. 2011-01-02 17:38:40 +03:00
Alexey Prokhin
3a10377c26 Never use InternalLinkage for variables marked as "extern" 2011-01-02 17:38:38 +03:00
Alexey Prokhin
16b0fe136e Fixed a crash in DtoDefineFunction. 2010-12-31 14:07:33 +03:00
Alexey Prokhin
57866a8359 Fixed a crash in WithStatement::toIR. 2010-12-31 13:45:11 +03:00
Alexey Prokhin
6b6ba75139 Call _d_hidden_func() instead of hidden functions. 2010-12-31 13:29:01 +03:00
Alexey Prokhin
9aad1ca6d1 Fixed casting of the complex types to the imaginary types 2010-12-30 14:04:40 +03:00
Alexey Prokhin
4bd0f2fadc Fixed generating of typeinfo for structs. 2010-12-30 14:04:24 +03:00
Alexey Prokhin
6ba2e41b49 Do not resolve forward referenced structs, classes and interfaces 2010-12-30 14:04:24 +03:00
Alexey Prokhin
d8115713d2 Fixed initialization of multidimensional static arrays. 2010-12-30 14:04:24 +03:00
Alexey Prokhin
8d7ff66019 Fixed the order of static destructors 2010-12-30 14:04:24 +03:00
Alexey Prokhin
6c2ccaf945 Fix for shared static constructors and destructors 2010-12-30 14:04:24 +03:00
Alexey Prokhin
023b55a772 Run postblit constructors for elements of an array. 2010-12-30 14:04:24 +03:00
Alexey Prokhin
44593f6220 Call d_delarray_t() instead of _d_delarray() 2010-12-19 15:51:00 +03:00
Alexey Prokhin
48d89916ef Work on typeinfo. 2010-12-19 15:50:44 +03:00
Alexey Prokhin
fbbb832187 Added suppport for custom allocators for structs. 2010-12-19 13:02:09 +03:00
Alexey Prokhin
e7c880cd08 Store the right context frame in nested structs and classes. 2010-12-19 12:13:00 +03:00
Alexey Prokhin
8790958712 pascal calling convention 2010-12-17 12:59:59 +03:00
Alexey Prokhin
eccd26ac93 Fixed crashes when compiling interpret test. 2010-12-17 12:55:28 +03:00
Alexey Prokhin
7e6807b0df Fixed calling of _d_delmemory() and _d_delinterface() 2010-12-17 12:55:28 +03:00
Alexey Prokhin
349a6c1c3f Fixed calling of final methods of interfaces 2010-12-17 12:55:28 +03:00
Alexey Prokhin
8c0902ce21 Fixed assert when compiling inline test 2010-12-17 12:54:34 +03:00
Alexey Prokhin
de15f4adbb That should be in rev. 1744... 2010-12-15 22:24:23 +03:00
Alexey Prokhin
bb644d5c91 Fix for delegates.
The following code works correctly now:
auto dg = &super.virtualFunc();
2010-12-15 21:47:22 +03:00
Alexey Prokhin
c47bfbcc32 Implemented mod operator for complex numbers 2010-12-15 20:30:38 +03:00
Alexey Prokhin
7cf80b3541 Fixed ldc2 crash when compiling static array concatenation. 2010-12-15 18:55:56 +03:00
Alexey Prokhin
71f653f19b Fixes for closures 2010-12-15 17:05:16 +03:00
Alexey Prokhin
73c851762b Merged 2010-12-14 14:49:12 +03:00
Alexey Prokhin
e48d0f6b79 Fixed test runnable/arrayop 2010-12-14 14:38:46 +03:00
Alexey Prokhin
f8bf67dc6e Fixed a crash when compiling multiple files in one object file 2010-12-14 14:35:52 +03:00
Alexey Prokhin
3eb6b5e8c8 Fixed a crash when compiling test runnable/A16. 2010-12-14 14:35:52 +03:00
Alexey Prokhin
0b4b009a69 Fixed some unresolved symbols 2010-12-14 14:35:52 +03:00
Alexey Prokhin
c3ea7b27c6 Work on debug 2010-12-14 14:35:48 +03:00
Robert Clipsham
3afe5bae25 Added in a missing opcode from the last commit. 2010-12-09 22:31:31 +00:00
Robert Clipsham
496a87e452 Merged Iain Buclaw's AMD 3dNow! asm changes. 2010-12-09 22:27:14 +00:00
Alexey Prokhin
6d22dd7999 Updated to 2.050 2010-11-08 16:55:35 +03:00
Eldar Insafutdinov
410cb0dc4e fix building of ldc1 2010-11-05 22:40:36 +00:00
Alexey Prokhin
14c6dfb895 Added pointers to shared constructors and destructors to ModuleInfo. 2010-11-05 17:40:29 +03:00
Alexey Prokhin
59d1ec5e0b Another fix for nested context in structs. 2010-11-05 11:55:23 +03:00
Alexey Prokhin
88d7b955c8 Reverted rev.1710 and rev.1711 2010-11-04 17:58:27 +03:00
Alexey Prokhin
fbb36404d9 Removed unnecessary temporary variables from getSlice() and DtoCatArrays(). 2010-11-04 14:14:08 +03:00
Alexey Prokhin
20b2b4b7f5 Added missing calls of postBlit 2010-11-04 12:50:19 +03:00
Alexey Prokhin
d7047f639e Rehash associative array right after its creating (DMD seems to be doing the same) 2010-11-03 19:46:19 +03:00
Alexey Prokhin
0cc3dc369a Fixed signature of _d_delarray() 2010-11-02 20:30:06 +03:00
Alexey Prokhin
87485d6649 Fixed signature of _aaEqual for D2 2010-11-02 18:40:58 +03:00
Alexey Prokhin
6b1243cec2 Fixed creating of arrays of immutable types 2010-11-02 16:38:13 +03:00
Alexey Prokhin
24e2184546 Removed hack from DtoAAIn 2010-11-02 14:22:36 +03:00
Alexey Prokhin
3943b2866b Fixed nested context for delegates initialized in structs and classes 2010-11-02 13:22:19 +03:00
Alexey Prokhin
2fe8635e5a Struct constructors are supported now 2010-11-02 13:22:10 +03:00
Alexey Prokhin
360a99caa9 Resolving nested context for structs.
* * *
Another fix for nested structs
* * *
Yet another fix for nested structs
2010-11-02 13:21:36 +03:00