[dmd-internals] [D-Programming-Language/dmd] 93a019: Fix issue 7790 [CTFE] assignment to AA apply ref a...

GitHub noreply at github.com
Thu Dec 6 06:28:48 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 93a019d5b10dc0fdc207912d8311a7498bad0e6b
      https://github.com/D-Programming-Language/dmd/commit/93a019d5b10dc0fdc207912d8311a7498bad0e6b
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2012-12-05 (Wed, 05 Dec 2012)

  Changed paths:
    M src/interpret.c
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Fix issue 7790 [CTFE] assignment to AA apply ref argument

1. IndexExp: Stop copying the AA whenever it is indexed (This was horrific for
performance, as well as being wrong).
2. aaApply: If the value is 'ref', create a reference to the value.


  Commit: 20e3ff2172b06e5798ba6c1925a4682ff61e8070
      https://github.com/D-Programming-Language/dmd/commit/20e3ff2172b06e5798ba6c1925a4682ff61e8070
  Author: Martin Nowak <dawg at dawgfoto.de>
  Date:   2012-12-06 (Thu, 06 Dec 2012)

  Changed paths:
    M src/interpret.c
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Merge pull request #1351 from donc/ctfe7790aa_ref

7790 CTFE wrong code for AA foreach ref


Compare: https://github.com/D-Programming-Language/dmd/compare/7853b9292765...20e3ff2172b0


More information about the dmd-internals mailing list