January 13, 2015 [dmd-internals] [D-Programming-Language/dmd] 7553fd: Simplify value/reference semantics in CTFE | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 7553fd8369d6e421b0cec40950a0c42a1f01aad5 https://github.com/D-Programming-Language/dmd/commit/7553fd8369d6e421b0cec40950a0c42a1f01aad5 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-14 (Wed, 14 Jan 2015) Changed paths: M src/ctfe.h M src/ctfeexpr.c M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Simplify value/reference semantics in CTFE - Remove unnecessary flags ctfeNeedAnyValue and ctfeNeedLvalueRef. - Improve any reference handling, including 'this' expression. - CTFE pointer is now represented by AddrExp + CTFE reference (VarExp, IndexExp, DotVarExp, etc). Commit: 60fa9e5021c205572f9b8ae33916a4278d54351e https://github.com/D-Programming-Language/dmd/commit/60fa9e5021c205572f9b8ae33916a4278d54351e Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-14 (Wed, 14 Jan 2015) Changed paths: M src/interpret.c Log Message: ----------- Simplify each interpret() functions Commit: dcf9e06ffe48105df6f43fae232784a425e70906 https://github.com/D-Programming-Language/dmd/commit/dcf9e06ffe48105df6f43fae232784a425e70906 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-14 (Wed, 14 Jan 2015) Changed paths: M src/interpret.c Log Message: ----------- Improve interpretAssignToIndex Commit: efbb08a85310a0b2f904b6ac82e95b0df5fa1fb3 https://github.com/D-Programming-Language/dmd/commit/efbb08a85310a0b2f904b6ac82e95b0df5fa1fb3 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-14 (Wed, 14 Jan 2015) Changed paths: M src/interpret.c Log Message: ----------- Simplify interpretAssignToSlice Commit: 79a64be3bee717d643b4c532e9845e474943ff54 https://github.com/D-Programming-Language/dmd/commit/79a64be3bee717d643b4c532e9845e474943ff54 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-14 (Wed, 14 Jan 2015) Changed paths: M src/interpret.c Log Message: ----------- Add resolveIndexing and simplify interpretAssignToIndex Commit: 7befc44f1afc70e81c9c4a94968c87d8ddec4376 https://github.com/D-Programming-Language/dmd/commit/7befc44f1afc70e81c9c4a94968c87d8ddec4376 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-01-14 (Wed, 14 Jan 2015) Changed paths: M test/compilable/interpret3.d Log Message: ----------- fix Issue 13740 - CTFE fails ref foreach over range Commit: 22badb69bd07f013b96383ae4e07dd93cf12d115 https://github.com/D-Programming-Language/dmd/commit/22badb69bd07f013b96383ae4e07dd93cf12d115 Author: Walter Bright <walter@walterbright.com> Date: 2015-01-13 (Tue, 13 Jan 2015) Changed paths: M src/ctfe.h M src/ctfeexpr.c M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #4227 from 9rnsr/fix_ctfe Simplify value/reference semantics in CTFE Compare: https://github.com/D-Programming-Language/dmd/compare/6c68edc8db4c...22badb69bd07 |
Copyright © 1999-2021 by the D Language Foundation