Preserve VASigCookieReg across PInvokeStubWorker call (#17521)
authorAditya Mandaleeka <adityamandaleeka@users.noreply.github.com>
Fri, 13 Apr 2018 12:25:39 +0000 (05:25 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 13 Apr 2018 12:25:39 +0000 (05:25 -0700)
commitd81f619201a010fe92bcdaa0c09569f7390a69ae
treecbc47f5889d13a6dafe8e7659f748c72d60b3672
parentcae5bb17b1abb96758c17aa53ca3d6988c3179ef
Preserve VASigCookieReg across PInvokeStubWorker call (#17521)

The call to PInvokeStubWorker can do all kinds of stuff to the
VASigCookieReg in the GenericPInvokeCalli case, since x15 is just a
temporary register. Let's save it in a callee-saved register so that
when we come back after stub generation, we still have the correct value
for the VASigCookie.
src/vm/arm64/PInvokeStubs.asm