1. 18 May, 2018 2 commits
  2. 17 May, 2018 1 commit
  3. 15 May, 2018 3 commits
  4. 14 May, 2018 2 commits
  5. 11 May, 2018 1 commit
  6. 09 May, 2018 2 commits
  7. 08 May, 2018 3 commits
  8. 07 May, 2018 2 commits
  9. 04 May, 2018 3 commits
  10. 03 May, 2018 3 commits
  11. 02 May, 2018 1 commit
  12. 30 Apr, 2018 5 commits
  13. 27 Apr, 2018 7 commits
  14. 26 Apr, 2018 3 commits
  15. 25 Apr, 2018 2 commits
    • Ben Smith's avatar
      [wasm] Implement importing mutable globals · 9166affb
      Ben Smith authored
      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: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52794}
      9166affb
    • Ben Smith's avatar
      [wasm] Implement WebAssembly.Global import/export · 6a505606
      Ben Smith authored
      The mutable-globals proposal spec allows importing as Numbers or
      WebAssembly.Global values, but always exports as WebAssembly.Global.
      
      Since the value is always boxed, we can also import/export i64 values.
      
      This CL also includes support for export of mutable globals. Since the
      underlying ArrayBuffer that stores the global's value is shared between
      the module and the WebAssembly.Global object, all that needs to be done
      is remove the validation check.
      
      Bug: v8:7625
      Change-Id: I24d763e3bc193d229a7cc33b2f2690a473c6f2bc
      Reviewed-on: https://chromium-review.googlesource.com/1018406
      Commit-Queue: Ben Smith <binji@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52789}
      6a505606