[sgen] SGEN_UPDATE_REFERENCE was used where it shouldn't be.
authorMark Probst <mark.probst@gmail.com>
Tue, 28 Apr 2015 01:11:44 +0000 (18:11 -0700)
committerMark Probst <mark.probst@gmail.com>
Wed, 29 Apr 2015 21:54:14 +0000 (14:54 -0700)
This has no implications other than for debugging.

mono/metadata/sgen-gc.c

index 195fd37740f8ff22085b26d1419a8b063d29421a..0250c1147ea623cb9c0ea80b9e7cf5c9a40a3247 100644 (file)
@@ -2794,7 +2794,7 @@ sgen_wbarrier_value_copy_bitmap (gpointer _dest, gpointer _src, int size, unsign
                if (bitmap & 0x1)
                        mono_gc_wbarrier_generic_store (dest, *src);
                else
-                       SGEN_UPDATE_REFERENCE_ALLOW_NULL (dest, *src);
+                       *dest = *src;
                ++src;
                ++dest;
                size -= SIZEOF_VOID_P;