• Clemens Hammacher's avatar
    [wasm] Reduce test-specific code · 1a8e7d13
    Clemens Hammacher authored
    This reduces the amount of special paths for testing.
    Setup the memory used for testing exactly the same way as in real world.
    Also, always connect the interpreter to the instance being executed,
    and to the existing WasmInstance struct. This keeps information
    synchronized between interpreter and test runner.
    These changes allow us to execute e.g. GrowMemory from cctests either
    in the interpreter or in compiled code.
    
    R=ahaas@chromium.org
    
    Change-Id: Id4726d061f3cdba789275350f500d769d27d2d63
    Reviewed-on: https://chromium-review.googlesource.com/488561
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44966}
    1a8e7d13
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...