1. 07 Jan, 2021 1 commit
    • Milad Fa's avatar
      PPC/s390: [Turboprop] Support HeapObject immediate deopt args. · 0b94bed7
      Milad Fa authored
      Port bbb1b345
      
      Original Commit Message:
      
          Adds support for emitting data with a reloc info to enable support
          for HeapObjects for immediate deopt args, required by dynamic check maps.
      
          In order to do this, a new DATA_EMBEDDED_OBJECT relocinfo type is added.
          This represents a raw object inserted into the instruction stream. For
          x64/ia32 it is treated the same as FULL_EMBEDDED_OBJECT, but on
          Arm/Arm64 this behaves differently since it points directly to the
          embedded object pointer rather than to an instruction that loads it.
      
      R=rmcilroy@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
      BUG=v8:10582
      LOG=N
      
      Change-Id: I949acb69ca6f6a377102eb0ac5f44919d4f7d25b
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2612930Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
      Commit-Queue: Milad Fa <mfarazma@redhat.com>
      Cr-Commit-Position: refs/heads/master@{#71931}
      0b94bed7
  2. 06 Jan, 2021 12 commits
  3. 05 Jan, 2021 16 commits
  4. 04 Jan, 2021 2 commits
  5. 03 Jan, 2021 1 commit
  6. 02 Jan, 2021 1 commit
  7. 01 Jan, 2021 1 commit
  8. 31 Dec, 2020 3 commits
  9. 30 Dec, 2020 1 commit
  10. 29 Dec, 2020 2 commits
    • Benedikt Meurer's avatar
      [wasm][debug] Expose instance and module instead of imports / exports. · ad42f966
      Benedikt Meurer authored
      The "imports" and "exports" that were exposed on WebAssembly frames via
      Debug-Evaluate aren't useful for the DWARF C/C++ extension (and likely
      not for any other language extension), since they only expose static
      information that's easily available (upfront) by reading the Wasm wire
      bytes.
      
      In fact, there are already standardized functions in the WebAssembly
      specification, namely `WebAssembly.Module.imports(module)` and
      `WebAssembly.Module.exports(module)`, which yield static information
      about the imports and exports of a Wasm module.
      
      So instead of exposing special, non-standard "imports" and "exports", we
      now instead expose both the "instance" and the "module" objects via both
      the Debug Proxy and the Scope view, and also add internal [[Exports]]
      and [[Imports]] properties to WasmModuleObject, which under the hood use
      the standard methods mentioned above.
      
      Fixed: chromium:1162069
      Bug: chromium:1071432, chromium:1083146
      Screenshot: https://imgur.com/lcaW2jL.png
      Doc: https://docs.google.com/document/d/1rqbu0jKTl3q_xCxLnKzkjGXWEsHnJ9aERVhKV9RNDgE#bookmark=id.925bb2qgou38
      Change-Id: Ie27e55bb08ea5f90493c57375bf2b48dfb11a4d2
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2606050
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#71893}
      ad42f966
    • Benedikt Meurer's avatar
      [debug] Make JSArrayBuffer (pre)views into internal properties. · 2cab7ae9
      Benedikt Meurer authored
      For JSArrayBuffer instances (which map to both v8::ArrayBuffer and
      v8::SharedArrayBuffer), we add a couple of synthetic views to its
      ValueMirror to make it easy for developers to peak into the contents of
      the JSArrayBuffer. These were previously real properties, but that's
      just wrong (both intuitively and semantically), and they should instead
      be internal properties.
      
      Drive-by-fix: The [[IsDetached]] internal property should only be shown
      on actually detached JSArrayBuffer's to reduce visual clutter. And for
      detached JSArrayBuffers creating views on them throws TypeErrors per
      specification, so we shouldn't attempt to display views on them.
      
      Bug: v8:9308, chromium:1162229
      Change-Id: Ia006de7873ca4b27aae7d00d46e1b69d2e326449
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2606047
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#71892}
      2cab7ae9