[dmd-internals] [D-Programming-Language/dmd] e7242b: Fix Issue 3022 - scope x = new Foo; does not alloc...

GitHub via dmd-internals dmd-internals at puremagic.com
Wed Sep 10 02:33:54 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: e7242b67874b5b9ac4c416d76a54ee7b037108be
      https://github.com/D-Programming-Language/dmd/commit/e7242b67874b5b9ac4c416d76a54ee7b037108be
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M src/declaration.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Fix Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator

If new only has one argument, then it must be the size.


  Commit: 9ba3bf09acb5d0133998781c506347f482497c0c
      https://github.com/D-Programming-Language/dmd/commit/9ba3bf09acb5d0133998781c506347f482497c0c
  Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
  Date:   2014-09-10 (Wed, 10 Sep 2014)

  Changed paths:
    M src/declaration.c
    M test/runnable/xtest46.d

  Log Message:
  -----------
  Merge pull request #3968 from yebblies/issue3022

Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator


Compare: https://github.com/D-Programming-Language/dmd/compare/dfad66748eac...9ba3bf09acb5


More information about the dmd-internals mailing list