v8/test/cctest/wasm
Clemens Hammacher 6a36b2a040 [wasm] [cleanup] Remove CompileInstantiateWasmModuleForTesting
This is a testing-only function, which is semantically equivalent to a
SyncCompile followed by SyncInstantiate.
We add a new SyncCompileAndInstantiate function to do those two steps
in one go, and use this method instead.
For AsmJs modules, a new testing function CompileAndRunAsmWasmModule is
introduced.

This is part of our effort to reduce the number of special paths for
testing. It is connected with
https://chromium-review.googlesource.com/529210, but should not
conflict with it.
After landing both CLs, we can later also get rid of
InstantiateModuleForTesting.

R=ahaas@chromium.org, mtrofin@chromium.org
BUG=v8:6474

Change-Id: I7891e968370d5eb68803076ce2639c65a2799dcc
Reviewed-on: https://chromium-review.googlesource.com/529844
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45852}
2017-06-12 11:52:13 +00:00
..
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
test-run-wasm-64.cc [wasm] [cleanup] Always use macros for memory operations 2017-04-26 11:49:50 +00:00
test-run-wasm-asmjs.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-interpreter.cc [wasm] Reduce test-specific code 2017-04-28 09:00:32 +00:00
test-run-wasm-js.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-module.cc [wasm] [cleanup] Remove CompileInstantiateWasmModuleForTesting 2017-06-12 11:52:13 +00:00
test-run-wasm-relocation.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-run-wasm-simd.cc [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
test-run-wasm.cc [wasm] Make prototype flags experimental 2017-05-31 14:18:08 +00:00
test-wasm-breakpoints.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-wasm-interpreter-entry.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
test-wasm-stack.cc [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
test-wasm-trap-position.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
wasm-run-utils.h [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00