ARM64: Fix Storing PSPSym for localloc
authorKyungwoo Lee <kyulee@microsoft.com>
Fri, 15 Apr 2016 15:45:34 +0000 (08:45 -0700)
committerKyungwoo Lee <kyulee@microsoft.com>
Sat, 16 Apr 2016 13:03:46 +0000 (06:03 -0700)
commit89c324d0b077779aae2934d41b9b5074424634c8
tree65847eba9b3f5e35cdf257c0fb37556f7b7fdc17
parentfa8b3492f9249fbac81ea1b994ca5877eb5ee422
ARM64: Fix Storing PSPSym for localloc

JIT incorrectly saves/restores PSPSym causing AVs in EH tests that have localloc with filter.
The fix is to use a right opcode (Load instead of Store) when saving PSPSym.

Commit migrated from https://github.com/dotnet/coreclr/commit/43b9c268c4ae32eb9b17111df79d57471661fe79
src/coreclr/src/jit/codegenarm64.cpp
src/coreclr/src/jit/codegenxarch.cpp
src/coreclr/tests/arm64/Tests.lst