May 17, 2014 [dmd-internals] [D-Programming-Language/dmd] 474e0d: Stop running semantic3 for unittests in non-root m... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 474e0d24191b0a964b38eae2ee5ba5eb972131b5 https://github.com/D-Programming-Language/dmd/commit/474e0d24191b0a964b38eae2ee5ba5eb972131b5 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-05-17 (Sat, 17 May 2014) Changed paths: M src/func.c Log Message: ----------- Stop running semantic3 for unittests in non-root modules This is important due to avoid out-of-memory error with `-unittest -inline`. Currently front-end inlining requires running semantic3 for all imported modules to analyze expanded function body code. By this change, we can remove the Phobos unittest analyzing cost in user application compilation. Commit: 9cf4601702e24250dff3a61b510bae30a12eb8ae https://github.com/D-Programming-Language/dmd/commit/9cf4601702e24250dff3a61b510bae30a12eb8ae Author: k-hara <k.hara.pg@gmail.com> Date: 2014-05-17 (Sat, 17 May 2014) Changed paths: M src/mars.c Log Message: ----------- fix Issue 10985 - Compiler doesn't attempt to inline non-templated functions from libraries (even having the full source) Commit: c2794ce23737cc4936762a08be7ccfd9e40e025d https://github.com/D-Programming-Language/dmd/commit/c2794ce23737cc4936762a08be7ccfd9e40e025d Author: Martin Nowak <code@dawg.eu> Date: 2014-05-17 (Sat, 17 May 2014) Changed paths: M src/func.c M src/mars.c Log Message: ----------- Merge pull request #2561 from 9rnsr/fix10985 Issue 10985 - Compiler doesn't attempt to inline non-templated functions from libraries (even having the full source) Compare: https://github.com/D-Programming-Language/dmd/compare/40be370bf0ac...c2794ce23737 |
Copyright © 1999-2021 by the D Language Foundation