-
Clemens Backes authored
For memory accesses that are statically known to be in bounds, avoid the out-of-line code for the trap handler. This makes trap handler metadata smaller, reduces code size (by avoiding OOL code), and enables more optimizations at later phases, because unprotected memory loads can be reordered and reused. Drive-by: Use {GetMemoryAccessKind} consistently. R=ahaas@chromium.org Bug: v8:11802 Change-Id: Ia824d3355a95f446a796c5b06f69ecaa1500709b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2912585Reviewed-by: Andreas Haas <ahaas@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#74776}
f15a656d