[dmd-internals] [D-Programming-Language/dmd] a219f5: Fix: Issue 10520 - [profile+nothrow] Building with...

GitHub via dmd-internals dmd-internals at puremagic.com
Sat Jun 28 23:58:54 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: a219f511c875d322e8ccb47e3b273237b99d437e
      https://github.com/D-Programming-Language/dmd/commit/a219f511c875d322e8ccb47e3b273237b99d437e
  Author: qchikara <jiki at red.email.ne.jp>
  Date:   2014-05-17 (Sat, 17 May 2014)

  Changed paths:
    M src/glue.c
    A test/compilable/test10520.d

  Log Message:
  -----------
  Fix: Issue 10520 - [profile+nothrow] Building with profiler results in "is not nothrow" error on some contracts

When Statement#blockExit() checks if the statements may throw or not, it
can also emit compile error.
We turn the second argument of it, mustNotThrow, to false
so that the error is suppressed.


  Commit: e6c308938d02d1cbfc57c37c03d06bff0ec00c74
      https://github.com/D-Programming-Language/dmd/commit/e6c308938d02d1cbfc57c37c03d06bff0ec00c74
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2014-06-29 (Sun, 29 Jun 2014)

  Changed paths:
    M src/glue.c
    A test/compilable/test10520.d

  Log Message:
  -----------
  Merge pull request #3554 from qchikara/FIX_profile_contract_nothrow

Fix: Issue 10520 - [profile+nothrow] Building with profiler results in "...


Compare: https://github.com/D-Programming-Language/dmd/compare/3126735908e8...e6c308938d02


More information about the dmd-internals mailing list