• Michael Starzinger's avatar
    [asm.js] Fix break depth calculation for named blocks. · 080fa871
    Michael Starzinger authored
    The target of a 'break' statement without a provided label must be a
    regular block belonging to a surrounding loop or switch statement, named
    blocks (i.e. the one that just define a label) on the other hand must be
    targeted specifically with the provided label (and not implicitly). This
    fixes the behavior by introducing a dedicated {BlockKind::kNamed} for
    this purpose.
    
    R=clemensh@chromium.org
    TEST=mjsunit/regress/regress-9022
    BUG=v8:9022
    
    Change-Id: I94c3d5b1196ed94b8b1b31f6eb3b68070cf324e8
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1538126
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60445}
    080fa871
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...