v8/test/cctest/wasm
Clemens Hammacher 4423c9cc09 [wasm] [interpreter] Ignore stack effects after unreachable
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/493266
Reviewed-by: Andreas Rossberg <rossberg@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45059}
2017-05-03 11:35:09 +00:00
..
OWNERS Make clemensh owner (wasm, asmjs and general) 2017-01-13 10:20:44 +00:00
test-run-wasm-64.cc [wasm] [cleanup] Always use macros for memory operations 2017-04-26 11:49:50 +00:00
test-run-wasm-asmjs.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-interpreter.cc [wasm] Reduce test-specific code 2017-04-28 09:00:32 +00:00
test-run-wasm-js.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-module.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-relocation.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-simd.cc [wasm] Implement Generic S128 Load/Store, logical ops and Horizontal add 2017-05-02 00:05:53 +00:00
test-run-wasm.cc [wasm] [interpreter] Ignore stack effects after unreachable 2017-05-03 11:35:09 +00:00
test-wasm-breakpoints.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-wasm-interpreter-entry.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-wasm-stack.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-wasm-trap-position.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
wasm-run-utils.h [wasm] [cleanup] Extract base class for Result<T> 2017-04-28 12:32:15 +00:00