Let relocator change sequences using rAsm
commit5f494b9ed68b2c93f5232de6aabbe39f62e4241a
authorMichael O'Farrell <michaelofarrell@fb.com>
Wed, 12 Sep 2018 18:34:52 +0000 (12 11:34 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 12 Sep 2018 18:43:50 +0000 (12 11:43 -0700)
tree213f76c76e0bb1d20fda844c334bf2ac3c7d1043
parent15a0bb5b5515f9e978c955da6ba3f086835c2be8
Let relocator change sequences using rAsm

Summary:
Currently the relocator only allows undefing registers if they are vixl scratch registers. This is done so that it doesn't undef a live register.
This adds the vasm scratch register to the set of registers it can undef.  This should be particularly useful since calls to helpers, and some jumps use the vasm scratch register to hold the address they will branch to.

Reviewed By: ottoni, jjgriego

Differential Revision: D9750612

fbshipit-source-id: a34ae948c589c926decd7799d965ff95bce0b41d
hphp/runtime/vm/jit/relocation-arm.cpp