v8/test
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
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest [wasm] [interpreter] Ignore stack effects after unreachable 2017-05-03 11:35:09 +00:00
common [wasm] [cleanup] Extract base class for Result<T> 2017-04-28 12:32:15 +00:00
debugger [mjsunit] Remove non-existing flags from tests. 2017-05-02 08:53:51 +00:00
fuzzer [fuzzer] Make parser fuzzer handle pending exceptions. 2017-05-02 10:31:32 +00:00
inspector [inspector] entered into context before getPossibleBreakpoints call 2017-05-01 19:44:13 +00:00
intl [intl] Mark date-format/timezone as pass/fail 2017-04-18 22:37:05 +00:00
js-perf-test [Interpreter] Fix compare bytecodehandler benchmarks for equals. 2017-04-27 11:14:21 +00:00
memory
message [parser] Fix fatal error on spread in class properties 2017-05-02 18:03:13 +00:00
mjsunit [asm.js] Fix and test stdlib annotation omission. 2017-05-03 11:04:27 +00:00
mkgrokdump Introduce mkgrokdump to update tools/v8heapconst.py. 2017-04-20 06:15:02 +00:00
mozilla [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
preparser
promises-aplus
test262 [test262] Skip typedarray-arg-set-values-same-buffer-other-type on big-endian platforms 2017-05-03 08:06:35 +00:00
unittests [wasm] [interpreter] Ignore stack effects after unreachable 2017-05-03 11:35:09 +00:00
wasm-spec-tests [test] Skip slow tests 2017-04-28 07:38:13 +00:00
webkit [asm.js] Widen test coverage to message tests. 2017-03-29 08:42:32 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00