Description[runtime] Simplify handler table lookup semantics.
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
Committed: https://crrev.com/7a82d8e9e4d7e3ec46d9436262ff13afa0ef2304
Cr-Commit-Position: refs/heads/master@{#41339}
Patch Set 1 #Patch Set 2 : Rebased. #
Messages
Total messages: 20 (14 generated)
|