v8/test/common/wasm
Ben L. Titzer a6d974fe00 [wasm] Merge the WasmContext into WasmInstanceObject
This change makes lifetime management of WasmCode much simpler.
By using the WasmInstanceObject as the context for WASM code execution,
including the pointer to the memory base and indirect function tables,
this keeps the instance alive when WASM code is on the stack, since
the instance object is passed as a parameter and spilled onto the stack.
This is in preparation of sharing the code between instances and
isolates.

Bug: v8:7424

R=mstarzinger@chromium.org

Change-Id: Ia35a3ce91a8f6135767fa764e185cde8bbc889f4
Reviewed-on: https://chromium-review.googlesource.com/997932
Commit-Queue: Ben Titzer <titzer@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52436}
2018-04-06 12:13:26 +00:00
..
flag-utils.h Add capability of throwing values in WASM 2017-09-25 16:58:19 +00:00
test-signatures.h [wasm][anyref] Implement decoding of new instructions 2018-03-23 12:21:58 +00:00
wasm-macro-gen.h [wasm][anyref] Decode anyref globals 2018-04-05 12:17:41 +00:00
wasm-module-runner.cc [wasm] Merge the WasmContext into WasmInstanceObject 2018-04-06 12:13:26 +00:00
wasm-module-runner.h [wasm] Move SyncCompile* and AsyncCompile* methods to WasmEngine 2018-01-18 13:27:46 +00:00