v8/test/cctest/wasm
Clemens Hammacher 733b7c8258 [wasm] Introduce jump table
This introduces the concept of a jump table for WebAssembly, which is
used for every direct and indirect call to any WebAssembly function.
For lazy compilation, it will initially contain code to call the
WasmCompileLazy builtin, where it passes the function index to be
called.
For non-lazy-compilation, it will contain a jump to the actual code.
The jump table allows to easily redirect functions for lazy
compilation, tier-up, debugging and (in the future) code aging. After
this CL, we will not need to patch existing code any more for any of
these operations.

R=mstarzinger@chromium.org, titzer@chromium.org

Bug: v8:7758
Change-Id: I45f9983c2b06ae81bf5ce9847f4542fb48844a4f
Reviewed-on: https://chromium-review.googlesource.com/1097075
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Ben Titzer <titzer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53805}
2018-06-18 16:38:09 +00:00
..
OWNERS Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
test-c-wasm-entry.cc [wasm] Make {NativeModule} independent of instance. 2018-04-27 14:22:35 +00:00
test-run-wasm-64.cc [wasm][cctest] Make remaining tests use page-sized memories 2018-04-27 22:37:14 +00:00
test-run-wasm-asmjs.cc [wasm] Split off wasm-linkage.h 2018-04-27 13:43:49 +00:00
test-run-wasm-atomics64.cc [wasm] Fix SIMD/Atomics tests to use page-sized memory 2018-04-27 20:39:48 +00:00
test-run-wasm-atomics.cc [wasm] Fix SIMD/Atomics tests to use page-sized memory 2018-04-27 20:39:48 +00:00
test-run-wasm-interpreter.cc [wasm] Split off wasm-linkage.h 2018-04-27 13:43:49 +00:00
test-run-wasm-js.cc [wasm] Split off wasm-linkage.h 2018-04-27 13:43:49 +00:00
test-run-wasm-module.cc [wasm] Merge {WasmSharedModuleData} with {WasmModuleObject} 2018-06-13 13:10:19 +00:00
test-run-wasm-sign-extension.cc [wasm] Enable sign extension operations in the interpreter 2018-06-01 22:12:45 +00:00
test-run-wasm-simd.cc Reland "[wasm] Add simd mem and shift ops to interpreter" 2018-06-13 22:03:46 +00:00
test-run-wasm.cc [wasm] Enable sign extension opcodes by default 2018-06-04 18:36:44 +00:00
test-streaming-compilation.cc [wasm] Store WasmModule in shared_ptr during async compilation 2018-06-18 15:10:03 +00:00
test-wasm-breakpoints.cc [wasm] Merge {WasmSharedModuleData} with {WasmModuleObject} 2018-06-13 13:10:19 +00:00
test-wasm-codegen.cc Add capability to handle CSP 'wasm-eval' in V8 2017-11-09 00:40:42 +00:00
test-wasm-interpreter-entry.cc [wasm] Split off wasm-linkage.h 2018-04-27 13:43:49 +00:00
test-wasm-stack.cc [wasm] Split off wasm-linkage.h 2018-04-27 13:43:49 +00:00
test-wasm-trap-position.cc [wasm] Split off wasm-linkage.h 2018-04-27 13:43:49 +00:00
wasm-atomics-utils.h [wasm] Add I64 Atomic binary operations for x64 2018-03-02 00:30:54 +00:00
wasm-run-utils.cc [wasm] Introduce jump table 2018-06-18 16:38:09 +00:00
wasm-run-utils.h [wasm] Introduce jump table 2018-06-18 16:38:09 +00:00