July 08, 2013 [dmd-internals] [D-Programming-Language/dmd] 2a1ebf: CTFE: run semantic on global variables | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 2a1ebf1c7be516e37f36df4079b4a96cd76f226f https://github.com/D-Programming-Language/dmd/commit/2a1ebf1c7be516e37f36df4079b4a96cd76f226f Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-07-08 (Mon, 08 Jul 2013) Changed paths: M src/interpret.c Log Message: ----------- CTFE: run semantic on global variables Only seems to happen with forward-referenced globals, for example: const int c23 = b23 * b23; const int a23 = 1; const int b23 = a23 * 3; Commit: 43a6c87194cae799650249b10a4f7c910081d280 https://github.com/D-Programming-Language/dmd/commit/43a6c87194cae799650249b10a4f7c910081d280 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-07-08 (Mon, 08 Jul 2013) Changed paths: M src/interpret.c Log Message: ----------- Do all interpreting inside CTFE instead of in the optimizer Commit: 180a4dbec140f1affd44f625957813aec693e605 https://github.com/D-Programming-Language/dmd/commit/180a4dbec140f1affd44f625957813aec693e605 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-07-08 (Mon, 08 Jul 2013) Changed paths: M src/expression.h M src/optimize.c Log Message: ----------- Entirely remove WANTinterpret from the compiler It is no longer used. Commit: e1ce57e1fd5506cf21e561a057d56fd742998917 https://github.com/D-Programming-Language/dmd/commit/e1ce57e1fd5506cf21e561a057d56fd742998917 Author: Walter Bright <walter@walterbright.com> Date: 2013-07-08 (Mon, 08 Jul 2013) Changed paths: M src/expression.h M src/interpret.c M src/optimize.c Log Message: ----------- Merge pull request #2136 from donc/future_of_ctfe Do all interpreting inside CTFE instead of in optimize(WANTinterpret) Compare: https://github.com/D-Programming-Language/dmd/compare/fe9bb4aaad8b...e1ce57e1fd55 |
Copyright © 1999-2021 by the D Language Foundation