v8/test/cctest/wasm
Clemens Hammacher 537885e829 [wasm][interpreter] Fix indirect calls to other instances
When calling a function through a function table, check whether the
instance of the called function differs from the current instance, and
in that case call the other function via a c-wasm-entry instead of
interpreting it.
The c-wasm-entry needs to pass the wasm context, so this CL changes
this to receive the wasm context as parameter instead of embedding the
context of the calling instance.

R=titzer@chromium.org

Bug: chromium:814562, v8:7400
Change-Id: Iea93f270542169f8aac4f8c81aacec559c716368
Reviewed-on: https://chromium-review.googlesource.com/930966
Reviewed-by: Ben Titzer <titzer@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51485}
2018-02-22 19:51:41 +00:00
..
OWNERS Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
test-c-wasm-entry.cc [wasm][interpreter] Fix indirect calls to other instances 2018-02-22 19:51:41 +00:00
test-run-wasm-64.cc [wasm] Add remaining saturating conversions 2018-02-07 19:45:39 +00:00
test-run-wasm-asmjs.cc [wasm] Introduce the WasmContext 2017-09-28 16:14:03 +00:00
test-run-wasm-atomics.cc [wasm] Add Atomic Load, Store Ops to the interpreter 2017-12-01 23:03:02 +00:00
test-run-wasm-interpreter.cc [wasm] Move (almost all) constants to wasm-constants.h 2018-01-11 12:25:54 +00:00
test-run-wasm-js.cc [jumbo] drop duplicate BUILD macro from test-run-wasm-js.cc 2017-09-22 11:15:08 +00:00
test-run-wasm-module.cc [API] Don't use VM methods of v8::ArrayBuffer::Allocator. 2018-02-16 22:51:17 +00:00
test-run-wasm-relocation.cc [assembler] Make {RelocInfo} independent of the Isolate. 2018-02-13 14:13:43 +00:00
test-run-wasm-sign-extension.cc MIPS[64]: Port [wasm] Implement wasm sign extension opcodes 2018-01-26 14:20:33 +00:00
test-run-wasm-simd.cc [wasm] Add F32x4{Abs, Neg, AddHoriz} 2018-02-06 17:31:42 +00:00
test-run-wasm.cc [wasm] Implement wasm sign extension opcodes 2018-01-25 23:18:08 +00:00
test-streaming-compilation.cc [wasm][streaming] Only clear the compilation_unit_builder_ if it exists 2018-01-24 17:03:03 +00:00
test-wasm-breakpoints.cc [wasm] Dehandlify WasmCompiledModule interface 2017-12-18 16:58:08 +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 Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
test-wasm-stack.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-wasm-trap-position.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
wasm-run-utils.cc [wasm] Move indirect function tables into the WasmContext 2018-02-21 12:29:21 +00:00
wasm-run-utils.h Normalize names of call descriptor local variables 2018-02-09 22:09:07 +00:00