[sgen] Handle forwarding in mono_gc_scan_for_specific_ref().
commit9b1da29cffe48b78c6604781e2def25ea398d743
authorMark Probst <mark.probst@gmail.com>
Wed, 1 Dec 2010 12:13:58 +0000 (1 13:13 +0100)
committerMark Probst <mark.probst@gmail.com>
Thu, 2 Dec 2010 13:07:53 +0000 (2 14:07 +0100)
treeb818911a516f24a198c6c906baba656f7183ef65
parenta0512964fa8a5335fc3435fc0fc31e7ee7a42582
[sgen] Handle forwarding in mono_gc_scan_for_specific_ref().

This function is used for debugging purposes only.  Previously it
didn't handle forwarding which meant that it couldn't be used during a
collection.
mono/metadata/sgen-gc.c
mono/metadata/sgen-gc.h
mono/metadata/sgen-major-copying.c