• mstarzinger's avatar
    [runtime] Simplify handler table lookup semantics. · 7a82d8e9
    mstarzinger authored
    The range-based exception handler table is by now only used for bytecode
    arrays. The semantics of the interpreter are that bytecode offsets point
    to the beginning of the currently executing bytecode instruction. Uses
    hence need to compensate for lookups based on a "retrun address". This
    change removes the need for such off-by-one compensations by changing
    lookup semantics to be based on "current instruction" offsets.
    
    R=jarin@chromium.org
    
    Review-Url: https://codereview.chromium.org/2534893002
    Cr-Commit-Position: refs/heads/master@{#41339}
    7a82d8e9
frames.cc 66.2 KB