2009-08-01 Mark Probst <mark.probst@gmail.com>
commit36208d6a9f1f164662513d28329a90f624c02d08
authorMark Probst <mark.probst@gmail.com>
Sat, 1 Aug 2009 14:16:18 +0000 (1 14:16 -0000)
committerMark Probst <mark.probst@gmail.com>
Sat, 1 Aug 2009 14:16:18 +0000 (1 14:16 -0000)
treef94d88421327acf22851b6a676aae4e9e752f0bc
parentb5fa4ed568fe733ec6ee3450ba625b53a1a03809
2009-08-01  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c (mono_gc_wbarrier_value_copy): Don't compute the GC
descriptor here.  We assume it's already been computed.

* generic-sharing.c (instantiate_other_info): Compute the GC
descriptor for info type MONO_RGCTX_INFO_KLASS.

2009-08-01  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mini_emit_stobj): If we call mono_value_copy()
in shared generic code, we might have to look up the class in the
RGCTX.  If we use the class directly, compute its GC descriptor.

svn path=/trunk/mono/; revision=139243
mono/metadata/ChangeLog
mono/metadata/generic-sharing.c
mono/metadata/sgen-gc.c
mono/mini/ChangeLog
mono/mini/method-to-ir.c