[dmd-internals] [D-Programming-Language/dmd] 15912c: fix Issue 9985 - Postblit isn't called on local st...

GitHub noreply at github.com
Sun Apr 28 12:46:55 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 15912c73192ef85d8cfaceb457c1af19dd575640
      https://github.com/D-Programming-Language/dmd/commit/15912c73192ef85d8cfaceb457c1af19dd575640
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-04-28 (Sun, 28 Apr 2013)

  Changed paths:
    M src/statement.c
    M test/runnable/sdtor.d

  Log Message:
  -----------
  fix Issue 9985 - Postblit isn't called on local struct return

Until 'ref' deduction finished, auto ref function is not an actual ref function. So compiler should keep NRVO ability.


  Commit: 66f3122cd17c1584db723370de27cd47f025e373
      https://github.com/D-Programming-Language/dmd/commit/66f3122cd17c1584db723370de27cd47f025e373
  Author: Martin Nowak <code at dawg.eu>
  Date:   2013-04-28 (Sun, 28 Apr 2013)

  Changed paths:
    M src/statement.c
    M test/runnable/sdtor.d

  Log Message:
  -----------
  Merge pull request #1933 from 9rnsr/fix9985

Issue 9985 - Postblit isn't called on local struct return


Compare: https://github.com/D-Programming-Language/dmd/compare/fe40b62c6feb...66f3122cd17c


More information about the dmd-internals mailing list