v8/test/common/wasm
Clemens Hammacher 6be6ec0091 [wasm] Store WasmModule in shared_ptr during async compilation
We currently store the {WasmModule} (generated during decoding) in a
unique_ptr and pass ownership to the {WasmModuleObject} after
compilation.
I plan to move the {Managed<NativeModule>} from {WasmCompiledModule} to
{WasmModuleObject}, which will force us to create the
{WasmModuleObject} *before* compilation, so that the {CompilationState}
is available during compilation.

This CL prepares that refactoring by storing the {WasmModule} in a
{shared_ptr} in the {AsyncCompileJob}. Note that it will eventually be
stored in a {shared_ptr} in the {Managed} anyway.

R=titzer@chromium.org

Change-Id: Iac5e3c1067af2801e938f77a455a68807801526a
Reviewed-on: https://chromium-review.googlesource.com/1104117
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Ben Titzer <titzer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53801}
2018-06-18 15:10:03 +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][cleanup] Move ValueType into its own header file 2018-04-24 13:55:18 +00:00
wasm-module-runner.cc [wasm] Store WasmModule in shared_ptr during async compilation 2018-06-18 15:10:03 +00:00
wasm-module-runner.h [wasm] Store WasmModule in shared_ptr during async compilation 2018-06-18 15:10:03 +00:00