1. 14 May, 2020 1 commit
  2. 28 Apr, 2020 1 commit
  3. 27 Mar, 2020 1 commit
  4. 30 Jan, 2020 1 commit
  5. 28 Jan, 2020 1 commit
    • Philip Pfaffe's avatar
      Improve iterator_range to take non-&& arguments · c51c9f7c
      Philip Pfaffe authored
      The current implementation takes forwarding reference arguments, which
      is fine when you call it with rvalues, like
      make_iterator_range(V.begin(), V.end()). If you call it with lvalues
      though, it doesn't do what you'd expect. ForwardIterator becomes a
      reference:
      
      Foo I = V.begin();
      make_iterator_range(I, I); //ForwardIterator is deduced as Foo&
      
      Since iterator are supposed to be small, no harm in passing them by
      value.
      
      Change-Id: I151c87304949d810c72c42f60e9d1a7151f61f83
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2020780
      Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
      Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#66007}
      c51c9f7c
  6. 21 Jan, 2020 1 commit
  7. 20 Jan, 2020 1 commit
  8. 10 Jan, 2020 1 commit
    • Clemens Backes's avatar
      [base] Improve logging for long error messages · 193c08ad
      Clemens Backes authored
      When comparing objects which get printed to very long strings (e.g.
      collections like vectors), it's much more readable if they get printed
      to individual lines. Differences are much easier to spot then.
      
      This CL refactors the CHECK/DCHECK macros to print the left hand side
      and right-hand side in individual lines if any of them is longer than 50
      characters.
      
      To that end, the {PrintCheckOperand} method (only used from
      {MakeCheckOpString}) is changed to return the string directly instead of
      printing to an output stream.
      
      R=mlippautz@chromium.org
      
      Change-Id: I6e24a5cbfeb1af53fa0aca2828e23f642b15569c
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1991866Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#65705}
      193c08ad
  9. 08 Nov, 2019 1 commit
    • Clemens Backes's avatar
      [utils] Move {WhichPowerOf2} to base::bits · fa056cd0
      Clemens Backes authored
      {WhichPowerOf2} is basically the same as {CountTrailingZeros}, with a
      restriction to powers of two. Since it does not use or depend on any v8
      internals, it can be moved to src/base/bits.h.
      This CL also changes the implementation to use the CTZ builtin if
      available, and falls back to popcnt otherwise.
      
      Drive-by: Make it constexpr, and rename to {WhichPowerOfTwo}.
      
      R=sigurds@chromium.org
      
      Bug: v8:9810, v8:8912
      Change-Id: I8368d098f9ab1247f3b9f036f1385a38de10cc6a
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1903966Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#64851}
      fa056cd0
  10. 10 Sep, 2019 2 commits
  11. 30 Jul, 2019 1 commit
  12. 16 Jul, 2019 1 commit
    • zhiguo's avatar
      Add Base64 VLQ decoding support · ed915416
      zhiguo authored
      This CL adds the support for Base64 VLQ decoding, which is the base of
      parsing source map files (Version 3). With this support, the mappings of
      C/C++ source code and WASM bytecode could be built in V8 engine. The
      newly-added function is called VLQBase64Decode, which accepts two
      character to be decoded. Upon its return, the position is updated with
      the next start position. The unittest of this support is also added in
      this CL.
      
      argument: the Base64-encoded VLQ string and the position of first
      Change-Id: If0f32972ecd7488844478a7b93a0f10cc38b6a5d
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1657421Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
      Commit-Queue: Zhiguo Zhou <zhiguo.zhou@intel.com>
      Cr-Commit-Position: refs/heads/master@{#62748}
      ed915416
  13. 08 Jul, 2019 1 commit
  14. 28 May, 2019 1 commit
  15. 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
  16. 24 May, 2019 1 commit
  17. 23 May, 2019 2 commits
  18. 18 Feb, 2019 1 commit
  19. 13 Feb, 2019 1 commit
  20. 10 Jan, 2019 1 commit
  21. 27 Nov, 2018 1 commit
  22. 20 Nov, 2018 1 commit
  23. 09 Nov, 2018 1 commit
  24. 05 Nov, 2018 1 commit
  25. 12 Oct, 2018 1 commit
  26. 09 Oct, 2018 1 commit
  27. 28 Sep, 2018 1 commit
  28. 27 Sep, 2018 1 commit
  29. 17 Sep, 2018 2 commits
  30. 15 Sep, 2018 1 commit
  31. 14 Sep, 2018 2 commits
  32. 12 Sep, 2018 1 commit
  33. 10 Sep, 2018 1 commit
  34. 30 Aug, 2018 1 commit
  35. 22 Aug, 2018 1 commit
  36. 12 Jul, 2018 1 commit