• Jakob Linke's avatar
    [maglev] Restore the correct context for exception handlers · 33e90400
    Jakob Linke authored
    Ignition remembers the correct context to restore when entering an
    exception handler by moving the context to an interpreter register
    when entering a try block, and restoring it from there when unwinding
    the frame and entering the catch block.
    
    Maglev code has to do the same by taking the context from the
    appropriate register for the handler's frame state.
    
    Bug: v8:7700
    Change-Id: I294fcccc845c660b2289b6d7b40f49f1aa46283d
    Fixed: chromium:1359928
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3892352Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Auto-Submit: Jakob Linke <jgruber@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#83181}
    33e90400
regress-1359928.js 671 Bytes