v8/test
Thibaud Michaud 53cddab847 [wasm] Allow polymorphic stack in the interpreter's side table
Quoting from the spec, the expected behavior for validating unreachable
code is that:

A polymorphic stack cannot underflow, but instead generates
Unknown types as needed.

(https://webassembly.github.io/spec/core/appendix/algorithm.html)

This CL changes the representation of the stack height in the
interpreter's side table builder from unsigned to signed to prevent
underflow, and makes some DCHECKs depend on code reachability.

R=clemensb@chromium.org

Bug: chromium:1017061
Change-Id: I4c999859019d6cefb76c1366ba0e98f199f7a0be
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1876813
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64546}
2019-10-24 13:16:03 +00:00
..
benchmarks Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
cctest [api] Add possibility for BackingStore to keep Allocator alive 2019-10-24 10:56:03 +00:00
common [wasm] Rename {Get,Set}Global to Global{Get,Set} 2019-10-08 14:27:50 +00:00
debugger Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
fuzzer Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
inspector [wasm][debug] Extend scope info test 2019-10-24 09:50:05 +00:00
intl Update test/intl OWNERS 2019-10-22 17:29:36 +00:00
js-perf-test [js-perf-tests] Adds performance tests for BigInt subtraction 2019-10-22 13:32:09 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [regexp] Improve String.prototype.matchAll error message 2019-10-24 01:54:58 +00:00
mjsunit [wasm] Allow polymorphic stack in the interpreter's side table 2019-10-24 13:16:03 +00:00
mkgrokdump Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
mozilla Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
preparser Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
test262 Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
torque [torque] fix formatting of union types 2019-10-24 10:05:25 +00:00
unittests [TurboProp] Remove the second schedule for TurboProp. 2019-10-24 10:08:35 +00:00
wasm-api-tests Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
wasm-js [wasm] Stage multi-value support 2019-10-22 13:49:52 +00:00
wasm-spec-tests [wasm] Stage multi-value support 2019-10-22 13:49:52 +00:00
webkit Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00