[maglev] Preparation to support exception handlers
This does not enable exception handlers yet, we still bail out in MaglevCompiler::Compile if we have an exception handler table in the bytecode array. This CL: - Generates code for exception handler blocks (which previously were set as dead code) - Creates a machinery for nodes to set the property CanThrow - Reads the exception handler table from the bytecode array and identifies if we're emitting nodes inside a try-block and for which handler we should jump in case of an exception - Generates an exception handler table for Maglev code Change-Id: Ifc9d4cb7440d3222f4fda48a86e4e482340b3b15 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3854061 Commit-Queue: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#82726}
Showing
This diff is collapsed.
Please
register
or
sign in
to comment