v8/test
Aseem Garg eb65f35e96 [wasm] redirect wasm calls to js functions through a GCed table
With this patch, rather than embedding the JSReceiver address directly
in the WasmToJS wrappers, we put that in a fixed array with global handle
scope and instead embed the location of the handle and the index in the
wrapper. This ensures that the wrapper doesn't need to be patched if the
GC kicks in. This is needed to get the WASM code off the GCed heap.

R=mtrofin@chromium.org

Bug: 
Change-Id: Ie5a77a78cdecec51b04f702c63b8e4285e6a2d8d
Reviewed-on: https://chromium-review.googlesource.com/581682
Commit-Queue: Aseem Garg <aseemgarg@chromium.org>
Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46884}
2017-07-25 22:32:39 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest [wasm] redirect wasm calls to js functions through a GCed table 2017-07-25 22:32:39 +00:00
common [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
debugger [ignition] removed nop bytecode 2017-07-18 16:14:29 +00:00
fuzzer [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
inspector Revert "[inspector] support for cases when embedder doesn't call contextDestroyed" 2017-07-25 11:07:51 +00:00
intl [tests] Fix timezone dependence in an intl test 2017-07-12 12:23:22 +00:00
js-perf-test Add micro-benchmark for Proxy get property 2017-07-19 10:04:06 +00:00
memory
message [Interpreter] Fix expression position on keyed property loads. 2017-07-18 15:32:29 +00:00
mjsunit Rewrite scopes of initializers in for-in/of destructured declarations 2017-07-25 18:26:16 +00:00
mkgrokdump Fix compilation failure due to overload of virtual function 2017-05-24 21:19:48 +00:00
mozilla [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
preparser
promises-aplus
test262 [modules] Fix Object.prototype.hasOwnProperty on namespace objects. 2017-07-25 12:09:41 +00:00
unittests [interpreter] make suspend_id an immediate operand to SuspendGenerator 2017-07-25 19:08:48 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-07-25 14:55:07 +00:00
webkit [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate