April 08, 2011 [dmd-internals] [D-Programming-Language/dmd] d3cdeb: CTFE: replace wantLvalue with enum CtfeGoal | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: d3cdeb8129bc9c10e5f4aabab6df1c0177131d4b https://github.com/D-Programming-Language/dmd/commit/d3cdeb8129bc9c10e5f4aabab6df1c0177131d4b Author: Don Clugston <dclugston at googlemail.com> Date: 2011-04-07 (Thu, 07 Apr 2011) Changed paths: M src/expression.h M src/interpret.c Log Message: ----------- CTFE: replace wantLvalue with enum CtfeGoal This is more readable and provides many optimisation opportunities. I used this to remove one annoying inefficiency: block slice assign was creating useless temporary values. There are many other opportunities. Commit: 0c02d607bdc53fe3292c211837ad90c1446e7646 https://github.com/D-Programming-Language/dmd/commit/0c02d607bdc53fe3292c211837ad90c1446e7646 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-04-08 (Fri, 08 Apr 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Harmonize with D1 This version of interpret.c is works on D1 and D2, and all tests pass. Commit: a26bae5f6829e356441b554e5eec8620be736a18 https://github.com/D-Programming-Language/dmd/commit/a26bae5f6829e356441b554e5eec8620be736a18 Author: Don Clugston <dclugston at googlemail.com> Date: 2011-04-08 (Fri, 08 Apr 2011) Changed paths: M src/interpret.c Log Message: ----------- CTFE: Error messages for accessing null arrays Give an error message for reading or writing to an index or slice of a null dynamic array. Commit: 31e60d56130eb3587903ae6a1e74a24b11664edf https://github.com/D-Programming-Language/dmd/commit/31e60d56130eb3587903ae6a1e74a24b11664edf Author: Don Clugston <dclugston at googlemail.com> Date: 2011-04-08 (Fri, 08 Apr 2011) Changed paths: M test/compilable/interpret3.d Log Message: ----------- Test cases for bugs 1330 3801 3835 4050 4051 5147 Many unreported bugs are also fixed, and tested here. Commit: 0219a5f0dcc88076759a4c472582954d0fb804b0 https://github.com/D-Programming-Language/dmd/commit/0219a5f0dcc88076759a4c472582954d0fb804b0 Author: Walter Bright <walter at walterbright.com> Date: 2011-04-08 (Fri, 08 Apr 2011) Changed paths: M src/declaration.c M src/declaration.h M src/expression.c M src/expression.h M src/interpret.c M src/win32.mak M test/compilable/interpret3.d Log Message: ----------- Merge branch 'ctfemem' of https://github.com/donc/dmd into donc-ctfemem Compare: https://github.com/D-Programming-Language/dmd/compare/7588ca3...0219a5f |
Copyright © 1999-2021 by the D Language Foundation