v8/test/mjsunit/wasm
ahaas 92b7c728e2 [wasm] Throw a type error if an I64 is exported to JS.
As required by the spec, ToJS now throws a TypeError fit I64 values
instead of truncating the I64 value to I32. To throw a TypeError I
introduced a new runtime function because the existing
Runtime::kThrowWasmError does not throw a TypeError. Since we have calls
to two runtime functions now, and an additional one is needed for stack
checks, I extracted the call to runtime functions into a helper function.

R=titzer@chromium.org

TEST=mjsunit/wasm/ffi-error.js:I64InSignatureThrows

Review-Url: https://codereview.chromium.org/2254803002
Cr-Commit-Position: refs/heads/master@{#38718}
2016-08-18 14:33:08 +00:00
..
embenchen
adapter-frame.js
asm-wasm-copy.js
asm-wasm-deopt.js
asm-wasm-f32.js
asm-wasm-f64.js
asm-wasm-heap.js
asm-wasm-i32.js
asm-wasm-literals.js
asm-wasm-stdlib.js [wasm] asm.js. Adds support for clz32 in asm.js. 2016-08-02 18:36:52 +00:00
asm-wasm-switch.js
asm-wasm-u32.js
asm-wasm.js
calls.js [wasm] Throw a type error if an I64 is exported to JS. 2016-08-18 14:33:08 +00:00
compiled-module-serialization.js [wasm] Serialization/Deserialization of compiled module 2016-08-09 15:19:38 +00:00
debug-disassembly.js
divrem-trap.js
ensure-wasm-binaries-up-to-date.js [wasm] binary and test for hosts' integration tests 2016-08-18 03:18:14 +00:00
export-table.js
ffi-error.js [wasm] Throw a type error if an I64 is exported to JS. 2016-08-18 14:33:08 +00:00
ffi.js [wasm] Allow import function to be any kind of callables. 2016-08-11 08:33:54 +00:00
frame-inspection.js
function-names.js
function-prototype.js
gc-frame.js
grow-memory.js [wasm] Grow memory should return -1 on failure. 2016-08-04 20:39:32 +00:00
import-table.js
incrementer.wasm [wasm] binary and test for hosts' integration tests 2016-08-18 03:18:14 +00:00
indirect-calls.js
instantiate-module-basic.js [wasm] Compile and Instantiation 2016-07-14 16:31:07 +00:00
instantiate-run-basic.js
module-memory.js
no-wasm-by-default.js
OWNERS
parallel_compilation.js
params.js
receiver.js
stack.js
stackwalk.js
start-function.js
test-import-export-wrapper.js Add signature checking when directly import a foreign function 2016-08-04 20:34:02 +00:00
test-wasm-module-builder.js
trap-location.js
unicode-validation.js
unreachable.js
verify-function-basic-errors.js
verify-function-simple.js
verify-module-basic-errors.js
wasm-constants.js Revert runtime lowering of wasm SIMD ops 2016-08-10 21:39:21 +00:00
wasm-module-builder.js [wasm] Add support for multiple indirect function tables 2016-07-28 04:57:18 +00:00
wasm-object-api.js