[D-runtime] [D-Programming-Language/druntime] d6addb: Mark exception class constructors as @nogc

GitHub via D-runtime d-runtime at puremagic.com
Sat Apr 18 10:06:30 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: d6addb93f7e6cb3ecd03507c3627e59aa8ed011f
      https://github.com/D-Programming-Language/druntime/commit/d6addb93f7e6cb3ecd03507c3627e59aa8ed011f
  Author: w0rp <devw0rp at gmail.com>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M src/object_.d

  Log Message:
  -----------
  Mark exception class constructors as @nogc

The exception class constructors do not themselves allocate any memory in the garbage collector, so they can be marked as @nogc. This enables the exception constructors to be used with custom allocators in the future in @nogc code.


  Commit: 7925b4e2951fe1e2f7c829a3bac164fe114cc43a
      https://github.com/D-Programming-Language/druntime/commit/7925b4e2951fe1e2f7c829a3bac164fe114cc43a
  Author: w0rp <devw0rp at gmail.com>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M src/object.di

  Log Message:
  -----------
  Add @nogc to the object.di files too.


  Commit: 5d15144ca89e2117232665342fbef0742fc55341
      https://github.com/D-Programming-Language/druntime/commit/5d15144ca89e2117232665342fbef0742fc55341
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M src/object.di
    M src/object_.d

  Log Message:
  -----------
  Merge pull request #1223 from w0rp/patch-1

Mark exception class constructors as @nogc


Compare: https://github.com/D-Programming-Language/druntime/compare/c4aa60e033f5...5d15144ca89e


More information about the D-runtime mailing list