1. 05 Mar, 2020 1 commit
    • Tobias Tebbi's avatar
      [turbofan] use ZoneUnorderedMap for NodeCache · c0c3b207
      Tobias Tebbi authored
      This fixes a non-determinism issue caused by the cache being full.
      Depending on the non-deterministic value of the handles in HeapConstant
      nodes, different cache entries would be overwritten in this case.
      
      The old implementation of NodeCache had a fixed limit, overwriting
      entries when the cache is full. This behavior didn't really make sense,
      but the hand-written hash map implementation couldn't handle arbitrary
      numbers of hash collisions, so removing the limit wasn't an option either.
      Thus this CL just replaces the custom hash map with a normal
      std::unordered_map, that is, a ZoneUnorderedMap.
      
      Bug: chromium:1046815
      Change-Id: I95269f2b1068eb9dfe3ee2ab5cca1cb460bc8fa3
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2087405Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
      Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#66592}
      c0c3b207
  2. 27 May, 2019 1 commit
    • Clemens Hammacher's avatar
      [cleanup] Replace simple typedefs by using · a335f2ae
      Clemens Hammacher authored
      This replaces all typedefs that define types and not functions by the
      equivalent "using" declaration.
      
      This was done mostly automatically using this command:
      ag -l '\btypedef\b' src test | xargs -L1 \
           perl -i -p0e 's/typedef ([^*;{}]+) (\w+);/using \2 = \1;/sg'
      
      Patchset 2 then adds some manual changes for typedefs for pointer types,
      where the regular expression did not match.
      
      R=mstarzinger@chromium.org
      TBR=yangguo@chromium.org, jarin@chromium.org
      
      Bug: v8:9183
      Change-Id: I6f6ee28d1793b7ac34a58f980b94babc21874b78
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1631409
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61849}
      a335f2ae
  3. 14 Sep, 2018 1 commit
  4. 28 Sep, 2017 1 commit
  5. 29 Apr, 2015 1 commit