• 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
..
api Loading commit data...
asmjs Loading commit data...
base Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
parser Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
counters-unittest.cc Loading commit data...
eh-frame-iterator-unittest.cc Loading commit data...
eh-frame-writer-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
object-unittest.cc Loading commit data...
register-configuration-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
source-position-table-unittest.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
unicode-unittest.cc Loading commit data...
unittests.gyp Loading commit data...
unittests.isolate Loading commit data...
unittests.status Loading commit data...
value-serializer-unittest.cc Loading commit data...