Properly handle byrefs in tailcall helper stubs (#41815)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Fri, 4 Sep 2020 05:47:26 +0000 (07:47 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Sep 2020 05:47:26 +0000 (22:47 -0700)
commit8ceca25036b395d12c1feedf6f3318786ddb355c
tree9b1b61413bdc4cb9c5f8913859973e834acd41a6
parent09c9d10db3ee63a3719870b5433191b9466fbad5
Properly handle byrefs in tailcall helper stubs (#41815)

* Properly handle byrefs in tailcall helper stubs

Switch to using ByReference instead of using stind.i/ldind.i and relying
on the JIT to report the locations being moved between.

Fixes #41555

* Move NextCallReturnAddress call back
src/coreclr/src/vm/corelib.h
src/coreclr/src/vm/tailcallhelp.cpp