[D-runtime] [D-Programming-Language/druntime] 6020ef: use named enum for TypeInfo_Struct and TypeInfo_Cl...

GitHub noreply at github.com
Fri Sep 27 03:55:53 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 6020ef0354eb3969b7ec1b1520b81de2c8162304
      https://github.com/D-Programming-Language/druntime/commit/6020ef0354eb3969b7ec1b1520b81de2c8162304
  Author: Martin Nowak <code at dawg.eu>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

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

  Log Message:
  -----------
  use named enum for TypeInfo_Struct and TypeInfo_Class m_flags


  Commit: d1cf4be19016502e041352714e21e49c69512d84
      https://github.com/D-Programming-Language/druntime/commit/d1cf4be19016502e041352714e21e49c69512d84
  Author: Martin Nowak <code at dawg.eu>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M src/rt/lifetime.d

  Log Message:
  -----------
  use named ClassFlags enum in _d_newclass


  Commit: 0e88bdee802da2b052a5cf741d3a18754564db7f
      https://github.com/D-Programming-Language/druntime/commit/0e88bdee802da2b052a5cf741d3a18754564db7f
  Author: Martin Nowak <code at dawg.eu>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

  Changed paths:
    M src/rt/lifetime.d

  Log Message:
  -----------
  disable finalization for extern(C++) classes

- They lack the classinfo pointer at vtbl[0] so the GC
  can't currently can't finalization.

- We could probably put the classinfo at vtbl[-1] though
  that would collide with C++ RTTI, any other ideas?


  Commit: bcdb67fbb7694fbd31441e88a919672490f580e6
      https://github.com/D-Programming-Language/druntime/commit/bcdb67fbb7694fbd31441e88a919672490f580e6
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2013-09-27 (Fri, 27 Sep 2013)

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

  Log Message:
  -----------
  Merge pull request #614 from dawgfoto/noFinalizeCPPclass

disable finalization for extern(C++) classes


Compare: https://github.com/D-Programming-Language/druntime/compare/acbf6621e8f0...bcdb67fbb769


More information about the D-runtime mailing list