v8/test/common/wasm
Mircea Trofin 3f1e32b336 [wasm] Clarify source of runtime information for interpreter.
This is part of the effort to consolidate the ownership of
wasm instantiation/specialization parameters.

This change is focused solely on the interpreter part of that effort, to
verify we're not regressing performance in interpreter benchmarks.

There are two aspects being addressed:
- dataflow-wise, we always fetch the interpreter's memory view from the
runtime objects (i.e. WasmInstanceObject/WasmCompiledModule). This is
consistent with how other instance-specific information is obtained
(e.g. code, indirect functions).

- representation-wise, we do not reuse ModuleEnv/WasmInstance just for
the memory view, because it is surprising that other instance info isn't
accessed from there. 

Bug: 
Change-Id: I536fbffd8e1f142a315fa1770ba9b08319f56a8e
Reviewed-on: https://chromium-review.googlesource.com/602083
Reviewed-by: Ben Titzer <titzer@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47205}
2017-08-07 18:14:23 +00:00
..
flag-utils.h [cleanup] Templatize the EnableFlagScope 2017-06-12 15:26:12 +00:00
test-signatures.h [wasm] Rename wasm::LocalType to wasm::ValueType and kAst* to kWasm* 2016-12-21 13:43:00 +00:00
wasm-macro-gen.h [cleanup] Remove return after UNREACHABLE 2017-05-22 13:10:01 +00:00
wasm-module-runner.cc [wasm] Clarify source of runtime information for interpreter. 2017-08-07 18:14:23 +00:00
wasm-module-runner.h [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00