[arm64] fix: PushAllRegistersAndIterateStack name for Windows on Arm

Bug: v8:10407
Change-Id: I4fb6544ca575e115ed84c1e15911794f3fb4a627
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2144112
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Richard Townsend <richard.townsend@arm.com>
Cr-Commit-Position: refs/heads/master@{#67089}
This commit is contained in:
Richard Townsend 2020-04-08 14:51:14 +01:00 committed by Commit Bot
parent 8bdfb966f1
commit ec3731d7f7

View File

@ -15,15 +15,13 @@
//
// Calling convention source:
// https://en.wikipedia.org/wiki/Calling_convention#ARM_(A64)
asm(
#ifdef _WIN64
".globl _PushAllRegistersAndIterateStack \n"
"_PushAllRegistersAndIterateStack: \n"
#else // !_WIN64
".globl PushAllRegistersAndIterateStack \n"
#ifndef _WIN64
".hidden PushAllRegistersAndIterateStack \n"
#endif
"PushAllRegistersAndIterateStack: \n"
#endif // !_WIN64
// x19-x29 are callee-saved.
" stp x19, x20, [sp, #-16]! \n"
" stp x21, x22, [sp, #-16]! \n"