Commit Graph

1783 Commits

Author SHA1 Message Date
Alexey Prokhin
e32d033d7e Removed some old hacks 2011-01-03 16:50:08 +03:00
Alexey Prokhin
89375729cf Work on switch statements. 2011-01-03 16:50:08 +03:00
Alexey Prokhin
38b4b4569b Fixed structs assign 2011-01-03 16:50:08 +03:00
Alexey Prokhin
910c589b79 Handle wild modifier in stripModifiers() 2011-01-03 16:50:08 +03:00
Alexey Prokhin
1c59eed83a Check for lower slice bound when bounds checking is enabled 2011-01-03 16:50:08 +03:00
Alexey Prokhin
fd52810f1a Fixed initialization of static arrays 2011-01-03 16:50:08 +03:00
Alexey Prokhin
a2cce35958 Work on associative arrays. 2011-01-03 16:50:05 +03:00
Alexey Prokhin
47239d9058 Work on support for variadic arguments. Updated headers in druntime/import. 2011-01-02 19:14:52 +03:00
Alexey Prokhin
8a49067776 Increment vgates in static constructors. That fixes static destructors of templates. 2011-01-02 17:43:02 +03:00
Alexey Prokhin
a86f414bc1 Fixed calling of _d_array_bounds and _d_switch_error. 2011-01-02 17:43:02 +03:00
Alexey Prokhin
3c4db7bc87 Fixed initialization of the static arrays 2011-01-02 17:43:02 +03:00
Alexey Prokhin
31472eae97 Removed another usage of SymOffExp. 2011-01-02 17:43:02 +03:00
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
67880f01e9 Initialize TemplateInstance::emittedInModule with NULL 2011-01-02 17:38:39 +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
a1f14a047b Removed AggregateDeclaration::scope which was added by mistake. 2010-12-31 13:29:15 +03:00
Alexey Prokhin
6b6ba75139 Call _d_hidden_func() instead of hidden functions. 2010-12-31 13:29:01 +03:00
Alexey Prokhin
74db15559a Implemented std.math.rndtol. Fixed linking problems with std.intrinsic 2010-12-30 14:04:40 +03:00
Alexey Prokhin
b75d294aa6 Finally fixed allocating of multidimensional arrays. 2010-12-30 14:04:40 +03:00
Alexey Prokhin
1f5b7d6759 Fixed casting of a static array to a pointer type. 2010-12-30 14:04:40 +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
ff7198eca8 Compile sources from druntime/core/stdc 2010-12-30 14:04:34 +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
c9c4877609 LDC does not use SymOffExp 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
1fc3dbaeb0 Get rid of SymOffExp. 2010-12-19 14:08:13 +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
f12b95b36a Fixed many issues with nested structs and classes 2010-12-19 10:20:06 +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
f5f5c2e1f9 Fixed invoking of delegates inside CTFE. 2010-12-17 12:55:28 +03:00
Alexey Prokhin
c089205395 Removed a hack for bug #218. That fixes many regressions in CTFE 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