• Victor Gomes's avatar
    [maglev] Preparation to support exception handlers · f6b4e6ce
    Victor Gomes authored
    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: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82726}
    f6b4e6ce
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
maglev-basic-block.h Loading commit data...
maglev-code-gen-state.h Loading commit data...
maglev-code-generator.cc Loading commit data...
maglev-code-generator.h Loading commit data...
maglev-compilation-info.cc Loading commit data...
maglev-compilation-info.h Loading commit data...
maglev-compilation-unit.cc Loading commit data...
maglev-compilation-unit.h Loading commit data...
maglev-compiler.cc Loading commit data...
maglev-compiler.h Loading commit data...
maglev-concurrent-dispatcher.cc Loading commit data...
maglev-concurrent-dispatcher.h Loading commit data...
maglev-graph-builder.cc Loading commit data...
maglev-graph-builder.h Loading commit data...
maglev-graph-labeller.h Loading commit data...
maglev-graph-printer.cc Loading commit data...
maglev-graph-printer.h Loading commit data...
maglev-graph-processor.h Loading commit data...
maglev-graph-verifier.h Loading commit data...
maglev-graph.h Loading commit data...
maglev-interpreter-frame-state.h Loading commit data...
maglev-ir.cc Loading commit data...
maglev-ir.h Loading commit data...
maglev-regalloc-data.h Loading commit data...
maglev-regalloc.cc Loading commit data...
maglev-regalloc.h Loading commit data...
maglev-register-frame-array.h Loading commit data...
maglev-vreg-allocator.h Loading commit data...
maglev.cc Loading commit data...
maglev.h Loading commit data...