[wasm] Speed up the js-to-wasm fast path
When converting JS values to wasm, we have a fast path for smi inputs. This CL makes this fast path faster by making the alternative (calling ToNumber) deferred. That slow path will be slower then, especially since register allocation (in particular the spilling decisions) are less optimal. Bug: v8:10070 Change-Id: I633a32e85b5a32f490980351b258da8e7a32a9e6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2037435Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#66132}
Showing
Please
register
or
sign in
to comment