Fix DoGcStress for multireg return with GC pointers.
authorSergey Andreenko <seandree@microsoft.com>
Thu, 2 May 2019 22:45:08 +0000 (15:45 -0700)
committerSergey Andreenko <seandree@microsoft.com>
Thu, 2 May 2019 23:01:33 +0000 (16:01 -0700)
commit353637b8cdb53fc743630aa3e6bc038b1b50162d
tree05f64f71b911c2b4a263994ceee6da3a24efcb8a
parent0c16be11a2bb4b08c5ca701ac9a6d786cf18ce4e
Fix DoGcStress for multireg return with GC pointers.

Note: we are overprotecting registers here, for example, we always protect 2 registers even if only one is returned. GCStress infrastructure should be able to tolerate extra registers. We have had such examples before (for example when returned a struct without pointers we protected the first reg anyway).
src/vm/gccover.cpp