1. 11 Oct, 2017 9 commits
  2. 10 Oct, 2017 23 commits
  3. 09 Oct, 2017 8 commits
    • Toon Verwaest's avatar
      [macro-assembler] Delete unused Jump/CheckBothSmi · de578fe3
      Toon Verwaest authored
      Bug: 
      Change-Id: I0c2dabebbfa709589c19b1c48ec8de4c7f7a3952
      Reviewed-on: https://chromium-review.googlesource.com/707151
      Commit-Queue: Toon Verwaest <verwaest@chromium.org>
      Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48410}
      de578fe3
    • Alexei Filippov's avatar
      [runtime-call-stats] Fix the threading check in debug mode. · c408123d
      Alexei Filippov authored
      The RuntimeCallStats object happen to be created on the main thread,
      but then got used in a worker. Make sure the thread checks do not
      fire false positives in this case.
      
      BUG=chromium:760649
      
      Change-Id: I8f2a2b4d1da1bc48416987ea378688ec15b9d955
      Reviewed-on: https://chromium-review.googlesource.com/706181Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Commit-Queue: Alexei Filippov <alph@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48409}
      c408123d
    • Eric Holk's avatar
      [wasm] Add thread-in-wasm flag builtins for x64 target · 527d5568
      Eric Holk authored
      This was causing trouble with Fuchsia, since mksnapshot was built and run on
      Linux which supports trap handlers, while Fuchsia does not yet. This change
      causes the external references to match between Fuchsia and Linux.
      
      Bug: chromium:772057
      Change-Id: I8e8f3539e3f5c4b798c364101ef2d16b5137f16d
      Reviewed-on: https://chromium-review.googlesource.com/706109Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
      Commit-Queue: Eric Holk <eholk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48408}
      527d5568
    • Tobias Tebbi's avatar
      Revert "Reland^2 "[turbofan] eagerly prune None types and deadness from the graph"" · 738e773b
      Tobias Tebbi authored
      This reverts commit 6ddb5e7d.
      
      Reason for revert: chromium:772873 chromium:772872
      
      Original change's description:
      > Reland^2 "[turbofan] eagerly prune None types and deadness from the graph"
      > 
      > Now, the EffectControlLinearizer connects all occurrences of Unreachable to the 
      > graph end. This fixes issues with later phases running DeadCodeElimination and
      > introducing new DeadValue nodes when processing uses of Unreachable.
      > 
      > This is a reland of 3c4bc27f
      > Original change's description:
      > > Reland "[turbofan] eagerly prune None types and deadness from the graph"
      > > 
      > > This is a reland of e1cdda25
      > > Original change's description:
      > > > [turbofan] eagerly prune None types and deadness from the graph
      > > > 
      > > > In addition to using the {Dead} node to prune dead control nodes and nodes that 
      > > > depend on them, we introduce a {DeadValue} node representing an impossible value 
      > > > that can occur at any position in the graph. The extended {DeadCodeElimination}
      > > > prunes {DeadValue} and its uses, inserting a crashing {Unreachable} node into
      > > > the effect chain when possible. The remaining uses of {DeadValue} are handled
      > > > in {EffectControlLinearizer}, where we always have access to the effect chain.
      > > > In addition to explicitly introduced {DeadValue} nodes, we consider any value use
      > > > of a node with type {None} as dead.
      > > > 
      > > > Bug: chromium:741225
      > > > Change-Id: Icc4b636d1d018c452ba1a2fa7cd3e00e522f1655
      > > > Reviewed-on: https://chromium-review.googlesource.com/641250
      > > > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > > > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
      > > > Cr-Commit-Position: refs/heads/master@{#48208}
      > > 
      > > Bug: chromium:741225
      > > Change-Id: I21316913dae02864f7a6d7c9269405a79f054138
      > > Reviewed-on: https://chromium-review.googlesource.com/692034
      > > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
      > > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#48232}
      > 
      > Bug: chromium:741225
      > Change-Id: I5702ec34856c075717162153adc765774453c45f
      > Reviewed-on: https://chromium-review.googlesource.com/702264
      > Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
      > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#48366}
      
      TBR=jarin@chromium.org,tebbi@chromium.org
      
      Change-Id: Ib0f59b8463681abf6a9158112515aefae3c76b5f
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:741225
      Reviewed-on: https://chromium-review.googlesource.com/707275Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48407}
      738e773b
    • Benedikt Meurer's avatar
      [turbofan] Simplify Map#has lowering. · f5f42639
      Benedikt Meurer authored
      We don't need an explicit diamond in JSBuiltinReducer to produce a
      Boolean. The NumberEqual operator already produces a Boolean, so we
      just need to negate the result.
      
      Change-Id: I442b0d98a4ab83002757906d6cc104682b87a853
      Reviewed-on: https://chromium-review.googlesource.com/707434Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48406}
      f5f42639
    • Ulan Degenbaev's avatar
      [wasm] Fix platform initialization in test-streaming-compilation. · f47b32b2
      Ulan Degenbaev authored
      This ensures that platform is initialized before the isolate and
      properly restores the previous platform at the end of the test.
      
      Bug: 
      Change-Id: I2771b7538362c400c5ff61411222beb7d7e62b02
      Reviewed-on: https://chromium-review.googlesource.com/707111
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48405}
      f47b32b2
    • Benedikt Meurer's avatar
      [collections] Refactor map entry lookup and make naming more consistent. · 130cee39
      Benedikt Meurer authored
      Rename the MapLookupHashIndex builtin to FindOrderedHashMapEntry and
      also rename the TurboFan operators LookupHashStorageIndex and
      LookupSigned32HashStorageIndex to FindOrderedHashMapEntry and
      FindOrderedHashMapEntryForInt32Key respectively. This way the naming is
      more consistent and it's immediately obvious from the operator name that
      this operator deals with OrderedHashMaps, which wasn't clear before.
      
      Also fix the result of the operation to be either -1 or the index of
      the entry relative to the hash table start (that is, no longer eagerly
      add hash table start plus value offset to the entry index). This removes
      this non-foldable integer additon from TurboFan code for both Map#get
      and Map#has.
      
      Drive-by-fix: Also provide more concrete types for the
      FindOrderedHashMapEntry operators.
      
      Bug: v8:5049
      Change-Id: I418d107b806f3031a52a525cffc20456dc2342db
      Reviewed-on: https://chromium-review.googlesource.com/707414Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48404}
      130cee39
    • Benedikt Meurer's avatar
      [builtins] Unify the naming of the Map/Set prototype builtins. · f42017e1
      Benedikt Meurer authored
      We use the naming convention <Constructor>Prototype<Method> for builtins
      that implement methods on a certain builtin constructors prototype. Fix
      the collection builtins (Map and Set) to match this naming convention.
      
      Bug: v8:5049
      Change-Id: I8ced50c2ac9ebc8f4390bcbbc6aec426a0026813
      Reviewed-on: https://chromium-review.googlesource.com/707318Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48403}
      f42017e1