v8/test
Ben Smith 9166affb29 [wasm] Implement importing mutable globals
The WasmInstanceObject stores two new arrays:

- imported_mutable_globals_buffers_: a FixedArray of all the imported
  globals' array buffers.
- imported_mutable_globals: a calloc'd array of Addresses pointing to
  the mutable global in its array buffer.

When accessing the global, the generated code looks up the address in
imported_mutable_globals to find where to load/store.

Bug: v8:7625
Change-Id: I60844c21a788fce28f346455f10f2283d1c152e9
Reviewed-on: https://chromium-review.googlesource.com/1020602
Commit-Queue: Ben Smith <binji@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52794}
2018-04-25 18:57:48 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [wasm] Implement importing mutable globals 2018-04-25 18:57:48 +00:00
common [wasm][cleanup] Move ValueType into its own header file 2018-04-24 13:55:18 +00:00
debugger [runtime] Do not refer directly to the closure stored in the context 2018-04-25 17:24:02 +00:00
fuzzer [wasm] Basic wasm tier-up 2018-04-24 13:56:23 +00:00
inspector [test] Disable pause-on-oom in no_snap 2018-04-25 11:50:21 +00:00
intl [intl] Fix default Intl language tag handling 2018-04-21 13:16:20 +00:00
js-perf-test Gracefully fail BigInt TypedArray.p.sort benchmarks. 2018-04-19 12:21:10 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message Reland "Reland "[d8][wasm] Test wasm compilation completion"" 2018-04-10 08:24:27 +00:00
mjsunit [wasm] Implement importing mutable globals 2018-04-25 18:57:48 +00:00
mkgrokdump [builtins] Re-enable embedded builtins 2018-04-17 08:27:48 +00:00
mozilla [test] Skip flaky test 2018-04-06 15:19:34 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 [typedarray] Implement TypedArray.p.sort using Torque. 2018-04-25 09:03:40 +00:00
unittests [wasm] Implement importing mutable globals 2018-04-25 18:57:48 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-04-25 12:02:21 +00:00
webkit [builtins] Properly reject immediately throwing thenables. 2018-04-24 07:55:00 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00