Change restorerip to restoreripm and use it for unwinderAsyncRets
commit95eab92ea059ce90cd2ae2f43fa0418fcd02df42
authorMichael O'Farrell <michaelofarrell@fb.com>
Wed, 17 Aug 2022 21:26:35 +0000 (17 14:26 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 17 Aug 2022 21:26:35 +0000 (17 14:26 -0700)
tree37bca86a96ae9f4f9066564409f9ccd8fe99d795
parente43e2530354112afd15b7d824c4cc57cebc1f976
Change restorerip to restoreripm and use it for unwinderAsyncRets

Summary:
We were using the stack for return purposes which does not work on arm.  Make
use of resotrerip to put the return address into the link register as expected
on arm.

Reviewed By: ottoni, jano

Differential Revision: D38787943

fbshipit-source-id: 0e76fc55802eb08530184afd568c2d6fc987470c
hphp/runtime/vm/jit/irlower-branch.cpp
hphp/runtime/vm/jit/unique-stubs.cpp
hphp/runtime/vm/jit/vasm-arm.cpp
hphp/runtime/vm/jit/vasm-info.cpp
hphp/runtime/vm/jit/vasm-instr.cpp
hphp/runtime/vm/jit/vasm-instr.h
hphp/runtime/vm/jit/vasm-x64.cpp