v8/test/cctest/wasm
Andreas Haas 17a8867023 [wasm] Allow traps in tests with many parameters in cctests
In the test-run-wasm and test-run-wasm-64 cctests it is not possible to
call runtime functions. To test traps in these cctests we therefore
replace the runtime call with a call to a c-callback, followed by a
return. This CL fixes the problem that the return did not clean up stack
parameters.

This CL unblocks
https://chromium-review.googlesource.com/c/v8/v8/+/671008. Originally I
wanted to mitigate the problem in that CL by defining an additional
parameter register for arm. However, adding additional parameter
registers lets other tests fail.

R=titzer@chromium.org, rodolph.perfetta@arm.com
CC=enricobacis@google.com

Bug: v8:6858
Change-Id: Ia8de73b70a0677ca4d379ed5b16272faee92a78d
Reviewed-on: https://chromium-review.googlesource.com/684017
Reviewed-by: Ben Titzer <titzer@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48158}
2017-09-26 07:53:39 +00:00
..
OWNERS Add eholk to Wasm-related OWNERS files 2017-08-10 18:58:00 +00:00
test-c-wasm-entry.cc Revert "Revert "[wasm] Rename TestingModule to TestingModuleBuilder."" 2017-08-19 16:34:27 +00:00
test-run-wasm-64.cc [wasm] Allow traps in tests with many parameters in cctests 2017-09-26 07:53:39 +00:00
test-run-wasm-asmjs.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
test-run-wasm-atomics.cc [wasm] Use the right access operand for atomic ops 2017-09-23 19:52:42 +00:00
test-run-wasm-interpreter.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
test-run-wasm-js.cc [jumbo] drop duplicate BUILD macro from test-run-wasm-js.cc 2017-09-22 11:15:08 +00:00
test-run-wasm-module.cc [cleanup] [wasm] Fix (D)CHECK macros 2017-09-19 11:40:37 +00:00
test-run-wasm-relocation.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
test-run-wasm-simd.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
test-run-wasm.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
test-streaming-compilation.cc [wasm] Streaming compilation for WebAssembly. 2017-09-15 06:36:25 +00:00
test-wasm-breakpoints.cc [iwyu] Extend inline include checking to tests. 2017-09-08 09:31:32 +00:00
test-wasm-interpreter-entry.cc [wasm] Remove 'using namespace' from cctest/wasm 2017-09-01 13:49:24 +00:00
test-wasm-stack.cc [wasm] remove movable objects from WasmToJsWrapper 2017-09-21 19:24:42 +00:00
test-wasm-trap-position.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
wasm-run-utils.cc [wasm] do not register trap handler data for previously registered code 2017-09-25 16:44:57 +00:00
wasm-run-utils.h [wasm] do not register trap handler data for previously registered code 2017-09-25 16:44:57 +00:00