• Mircea Trofin's avatar
    [wasm] Clarify source of runtime information for interpreter. · 3f1e32b3
    Mircea Trofin authored
    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/602083Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47205}
    3f1e32b3
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...