1. 05 Jan, 2018 3 commits
    • Benedikt Meurer's avatar
      [builtins] Port EnqueueMicrotask to CSA. · 2b4cc835
      Benedikt Meurer authored
      Previously the Promise builtins would always use a runtime function to
      schedule a new microtask, which is unnecessarily expensive. Since the
      runtime function only adds the microtask to a FixedArray (potentially
      growing that array) and increments the number of pending microtasks, it
      is fairly straight-forward to do this in CSA land instead.
      
      This change improves the Bluebird benchmarks by 2-4% on average.
      
      Bug: v8:7253
      Change-Id: I77e96b9e5afbb4bdbe129b6bb289d9905ed581bf
      Reviewed-on: https://chromium-review.googlesource.com/851972
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50372}
      2b4cc835
    • Clemens Hammacher's avatar
      [wasm] Make some fields const in WasmGraphBuilder · 204441b2
      Clemens Hammacher authored
      WasmGraphBuilder contains fields which store state which is modified
      during graph construction, other fields store information which is
      never modified. Make the latter fields const.
      
      R=mtrofin@chromium.org
      
      Change-Id: I3ea57fbca6b24247989f5ae7260ffed2013ad82a
      Reviewed-on: https://chromium-review.googlesource.com/850396
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50371}
      204441b2
    • Clemens Hammacher's avatar
      [wasm] Add flag for untrusted code mitigations · 37d325a3
      Clemens Hammacher authored
      Add a flag which controls our mitigations for executing untrusted code,
      in particular mitigations against speculative side channel attacks.
      The new flag (--untrusted-code-mitigations) is enabled by default, and
      currently only controls the mitigations we do in wasm.
      In the future, it should also replace the --extra-masking flag
      controlling our javascript mitigations.
      
      R=bradnelson@chromium.org, bmeurer@chromium.org
      CC=​hablich@chromium.org
      
      Bug: chromium:798964
      Change-Id: I94a008fdb95b6bce07d547a8b81ec9f23f392496
      Reviewed-on: https://chromium-review.googlesource.com/850212Reviewed-by: 's avatarBrad Nelson <bradnelson@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#50370}
      37d325a3
  2. 04 Jan, 2018 21 commits
  3. 03 Jan, 2018 16 commits