• Clemens Hammacher's avatar
    [wasm] [interpreter] Ignore stack effects after unreachable · 4423c9cc
    Clemens Hammacher authored
    During computation of the side table, ignore stack effects of
    instructions following any unconditional jump in the same block
    (|unreachable|, |br|, |br_table| or |return| jump out of the block).
    Without this fix, the current stack height might underflow, or we compute an
    unnecessarily large max_stack_height_. Note that those instruction will
    never get executed anyway.
    Hence, we don't need to store any side table information for such
    unreachable code.
    
    R=rossberg@chromium.org
    BUG=chromium:716936, chromium:715990
    
    Change-Id: I282f7f18ba1b972a112210e692f6cd05cf32308c
    Reviewed-on: https://chromium-review.googlesource.com/493266Reviewed-by: 's avatarAndreas Rossberg <rossberg@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45059}
    4423c9cc
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...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...