[dmd-internals] [D-Programming-Language/dmd] 5c4427: [Refactoring] TemplateInstance::semantic()

GitHub via dmd-internals dmd-internals at puremagic.com
Fri Sep 5 18:11:02 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 5c44275e2d1e66a15e2134c8ceb55af039181d19
      https://github.com/D-Programming-Language/dmd/commit/5c44275e2d1e66a15e2134c8ceb55af039181d19
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-06 (Sat, 06 Sep 2014)

  Changed paths:
    M src/template.c

  Log Message:
  -----------
  [Refactoring] TemplateInstance::semantic()

- Remove a goto jump
- Reduce code indent level
- Use ModToStc in TemplateThisParameter resolution


  Commit: 01fa21ef295afbdb66719d2ba7872d2460fa6883
      https://github.com/D-Programming-Language/dmd/commit/01fa21ef295afbdb66719d2ba7872d2460fa6883
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-06 (Sat, 06 Sep 2014)

  Changed paths:
    M src/module.c
    M src/module.h
    M src/template.c

  Log Message:
  -----------
  [Refactoring] Add Module::rootImports() and use it in TemplateInstance::needsCodegen()

it would make compilation a little faster so `rootImports` cache the result.


  Commit: 266b842acba9da7e63c8c59ef798cc4d011caf94
      https://github.com/D-Programming-Language/dmd/commit/266b842acba9da7e63c8c59ef798cc4d011caf94
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-06 (Sat, 06 Sep 2014)

  Changed paths:
    M src/template.c

  Log Message:
  -----------
  [Refactoring] Remove the hack code introduced in #1760

AST identity issue has been properly fixed in #3383 (fceb16bbf7).


  Commit: 03454c6e15f2daef3ecd84526eb35d68972fc558
      https://github.com/D-Programming-Language/dmd/commit/03454c6e15f2daef3ecd84526eb35d68972fc558
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M src/module.c
    M src/module.h
    M src/template.c

  Log Message:
  -----------
  Merge pull request #3945 from 9rnsr/refactor_template

[Refactoring] template.c


Compare: https://github.com/D-Programming-Language/dmd/compare/1ea942a60971...03454c6e15f2


More information about the dmd-internals mailing list