1. 09 Nov, 2018 1 commit
  2. 31 Oct, 2018 1 commit
  3. 10 Oct, 2018 1 commit
    • Ben L. Titzer's avatar
      [wasm] Use a tuple as the instance for JS imports · a2b34806
      Ben L. Titzer authored
      This CL refactors the implementation of WASM->JS import wrappers in order
      to make the wrapper code shareable. Instead of specializing to the import
      index, we use a tuple as the object ref in the both the import and indirect
      tables. The tuple allows the wrapper code to load both the calling
      instance and the target callable, rather than relying on code specialization.
      
      This requires some tricky codegen machinery, because WASM call descriptors
      expect an instance argument in a given register, yet the wrappers receive
      a tuple, the code generator must generate a prologue that loads the
      instance (and the callable), since it is not possible to express this at
      the graph level.
      
      R=mstarzinger@chromium.org
      CC=clemensh@chromium.org
      
      Change-Id: Id67e307f7f5089e776f5439a53b5aee4b76934b6
      Reviewed-on: https://chromium-review.googlesource.com/c/1268237
      Commit-Queue: Ben Titzer <titzer@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56520}
      a2b34806
  4. 09 Oct, 2018 1 commit
  5. 14 Aug, 2018 1 commit
  6. 09 May, 2018 1 commit
  7. 16 Apr, 2018 1 commit
  8. 12 Apr, 2018 1 commit
  9. 13 Feb, 2018 1 commit
  10. 12 Feb, 2018 1 commit
    • Clemens Hammacher's avatar
      [Liftoff] Allow the assembler to bail out · 0d858b05
      Clemens Hammacher authored
      Currently, the LiftoffCompiler can bail out on unsupported
      instructions, but the LiftoffAssembler can not. This makes it difficult
      to iteratively implement the platform specific part of the assembler.
      With this CL, also the assembler can bail out if an unimplemented
      assembler method is called. This allows to test already implemented
      methods.
      
      R=ahaas@chromium.org
      CC=sreten.kovacevic@mips.com
      
      Bug: v8:6600
      Change-Id: Ieb7abc2188266bb93c40fe55fd6ee0e5b1e0d220
      Reviewed-on: https://chromium-review.googlesource.com/909390
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#51242}
      0d858b05
  11. 08 Feb, 2018 1 commit
  12. 26 Jan, 2018 1 commit
  13. 22 Jan, 2018 1 commit
  14. 15 Dec, 2017 1 commit
  15. 07 Dec, 2017 1 commit
  16. 01 Dec, 2017 1 commit
    • Clemens Hammacher's avatar
      [Liftoff] Introduce LiftoffRegister type · bc293c24
      Clemens Hammacher authored
      LiftoffRegister is an abstraction over Register and DoubleRegister.
      Many functions in Liftoff do not need to distinguish GP and FP
      registers. LiftoffRegister allows to implement most functions
      generically. Accessors allow to convert them back to Register or
      DoubleRegister.
      Both register types are represented in a unified index space, which
      allows to extend this concept to more register types and implement
      aliasing in a straight-forward manner.
      Many functions currently only implement the GP case. FP will be added
      later.
      
      R=titzer@chromium.org
      
      Bug: v8:6600
      Change-Id: I043b787bc09dd1a06506ad515eb325b8ea19746d
      Reviewed-on: https://chromium-review.googlesource.com/793390Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49780}
      bc293c24