[baseline] Improve register allocation in Baseline CallBuiltin
The Descriptor of Builtin defines the allocated machine registers for its parameters. However, when an argument is in InterpreterAccumulatorRegister, the Descriptor might require another machine register holding the the value of this argument and result in a redundant register-to-register move. This CL avoids this move by allocating a same register for such argument. It also changes the assigned registers for Typeof, KeyedLoadIC and KeyedHasIC to align the use in Baseline Builtins. Change-Id: I14004d8e44c4c45f2a1bea2c09b06160f615709b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3416544Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#78833}
Showing
Please
register
or
sign in
to comment