v8/test/mjsunit/wasm
rossberg e2b83fbbfd [wasm] Inspect right control frames for unreachable flag
We were looking at the unreachable flag or stack_depth of the target frame
instead of the current one in a couple of places (most notably BreakTo).
This change fixes these bugs and makes us pass the latest spec tests for
br_table validation. Also need to ensure that br_table targets have consistent
types, which is not implied if the stack is polymorphic.

R=titzer@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2696813002
Cr-Commit-Position: refs/heads/master@{#43250}
2017-02-16 14:12:01 +00:00
..
embenchen
adapter-frame.js
add-getters.js
asm-wasm-copy.js
asm-wasm-deopt.js
asm-wasm-exception-in-tonumber.js
asm-wasm-expr.js
asm-wasm-f32.js
asm-wasm-f64.js
asm-wasm-heap.js
asm-wasm-i32.js
asm-wasm-literals.js
asm-wasm-names.js
asm-wasm-stack.js [wasm] Patch the native context embedded in compiled code 2017-01-12 18:30:17 +00:00
asm-wasm-stdlib.js
asm-wasm-switch.js
asm-wasm-u32.js
asm-wasm.js [asm-wasm] Fix continue target of do-while loops 2017-02-14 08:57:35 +00:00
asm-with-wasm-off.js [wasm][asm.js] Allow asm.js->wasm codegen in unsafe-eval situations. 2017-01-24 05:00:35 +00:00
calls.js
compiled-module-management.js
compiled-module-serialization.js [wasm] Enforce memory and table limits during instantiation. 2017-01-17 19:15:59 +00:00
data-segments.js
divrem-trap.js
ensure-wasm-binaries-up-to-date.js
errors.js [wasm] JS-API: enable WebAssembly.instantiate tests; fix LinkError 2017-01-13 20:47:44 +00:00
exceptions.js
export-table.js
ffi-error.js
ffi.js
float-constant-folding.js [wasm] Do not fold f32-to-f64 and f64-to-f32 conversions. 2017-02-03 12:05:29 +00:00
function-names.js [wasm] Inspect right control frames for unreachable flag 2017-02-16 14:12:01 +00:00
function-prototype.js
gc-buffer.js
gc-frame.js
gc-stress.js
globals.js [wasm] Inspect right control frames for unreachable flag 2017-02-16 14:12:01 +00:00
grow-memory.js [wasm] Fix and tighten memory validation 2017-01-18 12:07:57 +00:00
import-memory.js [wasm] Memory buffer should be detached after Memory.Grow 2017-01-26 22:15:59 +00:00
import-table.js
incrementer.wasm [wasm] Accept version 0x1 binaries. 2017-02-09 02:09:47 +00:00
indirect-calls.js
indirect-tables.js [wasm] Update table bounds when module is instantiated with a table import 2017-01-30 18:10:32 +00:00
instance-gc.js
instance-memory-gc-stress.js
instantiate-module-basic.js [wasm] Instance exports object should be iterable 2017-01-20 19:35:16 +00:00
instantiate-run-basic.js
js-api.js [wasm] Memory buffer should be detached after Memory.Grow 2017-01-26 22:15:59 +00:00
jsapi-harness.js [wasm] include JS conformance tests in Wasm mjsunit tests 2017-02-14 18:25:32 +00:00
memory-instance-validation.js
memory-size.js [wasm] Fix and tighten memory validation 2017-01-18 12:07:57 +00:00
memory.js [wasm] WebAssembly.Memory.grow() should handle the no instance case 2017-01-18 04:45:07 +00:00
module-memory.js [wasm] Enforce memory and table limits during instantiation. 2017-01-17 19:15:59 +00:00
names.js [wasm] Errors in names section do not fail the whole module. 2017-01-24 13:13:26 +00:00
OWNERS Make clemensh owner (wasm, asmjs and general) 2017-01-13 10:20:44 +00:00
parallel_compilation.js
params.js
receiver.js
stack.js [wasm] Fix and tighten memory validation 2017-01-18 12:07:57 +00:00
stackwalk.js
start-function.js
table.js [wasm] Enforce memory and table limits during instantiation. 2017-01-17 19:15:59 +00:00
test-import-export-wrapper.js
test-wasm-module-builder.js
trap-location-with-trap-if.js [wasm] Fix and tighten memory validation 2017-01-18 12:07:57 +00:00
trap-location.js [wasm] Fix and tighten memory validation 2017-01-18 12:07:57 +00:00
unicode-validation.js
unreachable-validation.js [wasm] Inspect right control frames for unreachable flag 2017-02-16 14:12:01 +00:00
unreachable.js
verify-module-basic-errors.js
wasm-constants.js [wasm] Accept version 0x1 binaries. 2017-02-09 02:09:47 +00:00
wasm-default.js [wasm] Enable WASM by default (--expose-wasm=true). 2017-01-12 12:04:35 +00:00
wasm-module-builder.js [wasm] Inspect right control frames for unreachable flag 2017-02-16 14:12:01 +00:00
wasm-object-api.js