v8/test/unittests/wasm
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
..
control-transfer-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
decoder-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
function-body-decoder-unittest.cc [wasm] Implement importing mutable globals 2018-04-25 18:57:48 +00:00
leb-helper-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
loop-assignment-analysis-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
module-decoder-unittest.cc [wasm] Remove obsolete {weak_exported_functions} field. 2018-04-09 14:13:52 +00:00
OWNERS Remove mtrofin and rossberg from OWNERS 2018-02-15 23:48:43 +00:00
streaming-decoder-unittest.cc [cleanup][wasm] Use ArrayVector in streaming-decoder-unittests.cc 2017-12-04 09:01:04 +00:00
trap-handler-unittest.cc [wasm] Add new API for enabling trap handler 2018-03-20 18:06:38 +00:00
wasm-code-manager-unittest.cc [wasm] Basic wasm tier-up 2018-04-24 13:56:23 +00:00
wasm-macro-gen-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
wasm-module-builder-unittest.cc [iwyu, wasm] Remove unallowed includes to objects-inl.h from wasm. 2017-02-13 15:05:37 +00:00
wasm-opcodes-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00