1. 01 Nov, 2018 1 commit
  2. 30 Oct, 2018 2 commits
  3. 29 Oct, 2018 1 commit
  4. 25 Oct, 2018 1 commit
  5. 24 Oct, 2018 1 commit
  6. 23 Oct, 2018 2 commits
  7. 22 Oct, 2018 1 commit
  8. 18 Oct, 2018 1 commit
  9. 15 Oct, 2018 1 commit
    • Clemens Hammacher's avatar
      [base] Sync Optional implementation to chromium · da339e60
      Clemens Hammacher authored
      There were a lot of tweaks and optimizations to chromium's
      {base::Optional} implementation. This CL brings us back in sync with
      that.
      Some changes were needed to make this compatible with C++11 and with
      GCC 4.8:
      1) Types like std::decay_t and std::enable_if_t were rewritten to
         use std::decay and std::enable_if.
      2) Some conditional no_except declarations were removed.
      3) std::is_trivially_copy_constructible and
         std::is_trivially_move_constructible are assumed to be false on
         gcc 4 because it's unimplemented there.
      
      R=neis@chromium.org
      
      Bug: v8:8238
      Change-Id: Ia0542c0d4d2fd43a2454f639ec5201ad8d8201cd
      Reviewed-on: https://chromium-review.googlesource.com/c/1275824
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56625}
      da339e60
  10. 12 Oct, 2018 1 commit
  11. 09 Oct, 2018 1 commit
  12. 08 Oct, 2018 1 commit
  13. 05 Oct, 2018 2 commits
    • Alexei Filippov's avatar
      Warm up RNG when --random_seed is used · 88c5da04
      Alexei Filippov authored
      The RNG state is initialized with random_seed parameter that usually
      has lots of zeros. Each random generation iteration shuffles bits with
      xor operation over the state. It takes a while before the state is populated
      with enough 1s and starts generating uniformly distributed numbers.
      
      The patch warms up the state with 32 iterations when --random_seed is used.
      
      BUG=v8:8265
      
      Change-Id: I7a4e8c842962bea0f2935c7b3673494367d8580f
      Reviewed-on: https://chromium-review.googlesource.com/c/1263816
      Commit-Queue: Alexei Filippov <alph@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56418}
      88c5da04
    • Peter Marshall's avatar
      [cleanup] Don't declare inline runtime functions by default · 49420760
      Peter Marshall authored
      For each intrinsic/runtime function we define in runtime.h, an inline
      version is automatically declared. We only ever use 24 of the inline
      functions. Even though we don't call the other ones, macro magic means
      they still take up space by existing in various arrays and tables like
      kIntrinsicFunctions. They also create code in switch statements.
      
      Some drive-by cleanups:
       - Remove the switch in NameForRuntimeId() and just use the table of
         runtime functions to lookup the name directly.
       - Remove tests for IsFunction, ClassOf and StringAdd intrinsics as
         they are the last users of the inline versions of these.
       - Remove the MaxSmi inline version as it is only used in tests.
      
      Saves 64 KiB binary size.
      
      Change-Id: I4c870ddacd2655ffcffa97d93200ed8f853752f5
      Reviewed-on: https://chromium-review.googlesource.com/c/1261939
      Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56412}
      49420760
  14. 04 Oct, 2018 1 commit
  15. 01 Oct, 2018 1 commit
  16. 28 Sep, 2018 1 commit
  17. 27 Sep, 2018 1 commit
  18. 26 Sep, 2018 2 commits
  19. 24 Sep, 2018 3 commits
  20. 21 Sep, 2018 1 commit
  21. 20 Sep, 2018 1 commit
  22. 19 Sep, 2018 1 commit
    • Clemens Hammacher's avatar
      [base] Remove OffsetFrom and AddressFrom · 60d6f7c2
      Clemens Hammacher authored
      Those two methods are spread over the code base, and their purpose is
      often not clear. Historically, they were used to turn pointers into
      integers in order to do computations on them. Today we have {Address}
      which is uintptr_t, so we can compute directly on that.
      
      This also makes the {RoundUp} and {RoundDown} macros only work on
      integral values (including {Address}).
      
      R=mlippautz@chromium.org
      
      Bug: v8:8015
      Change-Id: Ia98fb826793ee5d3a2a5b18c09c329d088443772
      Reviewed-on: https://chromium-review.googlesource.com/1233914Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56048}
      60d6f7c2
  23. 18 Sep, 2018 1 commit
  24. 17 Sep, 2018 2 commits
  25. 15 Sep, 2018 1 commit
  26. 14 Sep, 2018 3 commits
  27. 13 Sep, 2018 2 commits
  28. 12 Sep, 2018 3 commits