2009-07-03 Mark Probst <mark.probst@gmail.com>
authorMark Probst <mark.probst@gmail.com>
Thu, 2 Jul 2009 22:41:39 +0000 (22:41 -0000)
committerMark Probst <mark.probst@gmail.com>
Thu, 2 Jul 2009 22:41:39 +0000 (22:41 -0000)
commit8bf864880d445043639d00c81c06e08aec6105dc
treed73155a2733766f6bd6f865ff1d8408b3acd999d
parent2c3b1ba9d45bda16039b387e5750b6b4cd27796a
2009-07-03  Mark Probst  <mark.probst@gmail.com>

        * object.c (handle_enum): Invoke the write barrier when copying
        value type instances.

        * sgen-gc.c: Register remsets for unmanaged write barriers only
        when the address written to is actually on the heap.  This makes
        set_value() in object.c work without requiring that the result be
        on the heap.

svn path=/trunk/mono/; revision=137331
mono/metadata/ChangeLog
mono/metadata/object.c
mono/metadata/sgen-gc.c