Fix arm32 tailcall_reg/tailcall_membase. (mono/mono#14187)
authorJay Krell <jaykrell@microsoft.com>
Thu, 25 Apr 2019 17:10:06 +0000 (10:10 -0700)
committerJo Shields <joshield@microsoft.com>
Thu, 25 Apr 2019 17:10:06 +0000 (13:10 -0400)
commitdd4ad49b6b9aaaff4ea2a7edce31af5619571b4d
tree03fd7b0c5a4adfac84161a25532145a6975bcfca
parent89578b303b741511682d0f1c0521a419dad20f44
Fix arm32 tailcall_reg/tailcall_membase. (mono/mono#14187)

* Revert "[Tailcall] [arm] [jit] Fix moving tailcall parameters. (mono/mono#12701)"

This reverts commit mono/mono@257efc6374cbffb95d83dc9257b432d6ae3d80f6.

* When moving parameters for tailcall, and having pushed ip,
and adjusting the offset to account for that, split the adjustment
between sp and frame pointer, as frame pointer may or may not be sp.
This fixes https://github.com/mono/mono/issues/11489.

Commit migrated from https://github.com/mono/mono/commit/8eec35bcdd3aa1b7caa9bfa9bf95c02fd48de8dc
src/mono/mono/mini/mini-arm.c