1. 01 Nov, 2021 1 commit
  2. 29 Oct, 2021 1 commit
  3. 27 Oct, 2021 1 commit
  4. 25 Oct, 2021 1 commit
  5. 11 Oct, 2021 1 commit
  6. 08 Oct, 2021 1 commit
  7. 07 Oct, 2021 1 commit
  8. 01 Oct, 2021 1 commit
  9. 27 Sep, 2021 1 commit
  10. 20 Sep, 2021 1 commit
  11. 17 Sep, 2021 1 commit
  12. 16 Sep, 2021 1 commit
  13. 06 Sep, 2021 1 commit
  14. 01 Sep, 2021 1 commit
  15. 31 Aug, 2021 1 commit
  16. 26 Aug, 2021 1 commit
  17. 25 Aug, 2021 2 commits
  18. 24 Aug, 2021 1 commit
    • Dan Elphick's avatar
      Reland "[include] Split out v8.h" · ec06bb6c
      Dan Elphick authored
      This is a reland of d1b27019
      
      Fixes include:
      Adding missing file to bazel build
      Forward-declaring classing before friend-classing them to fix win/gcc
      Add missing v8-isolate.h include for vtune builds
      
      Original change's description:
      > [include] Split out v8.h
      >
      > This moves every single class/function out of include/v8.h into a
      > separate header in include/, which v8.h then includes so that
      > externally nothing appears to have changed.
      >
      > Every include of v8.h from inside v8 has been changed to a more
      > fine-grained include.
      >
      > Previously inline functions defined at the bottom of v8.h would call
      > private non-inline functions in the V8 class. Since that class is now
      > in v8-initialization.h and is rarely included (as that would create
      > dependency cycles), this is not possible and so those methods have been
      > moved out of the V8 class into the namespace v8::api_internal.
      >
      > None of the previous files in include/ now #include v8.h, which means
      > if embedders were relying on this transitive dependency then it will
      > give compile failures.
      >
      > v8-inspector.h does depend on v8-scripts.h for the time being to ensure
      > that Chrome continue to compile but that change will be reverted once
      > those transitive #includes in chrome are changed to include it directly.
      >
      > Full design:
      > https://docs.google.com/document/d/1rTD--I8hCAr-Rho1WTumZzFKaDpEp0IJ8ejZtk4nJdA/edit?usp=sharing
      >
      > Bug: v8:11965
      > Change-Id: I53b84b29581632710edc80eb11f819c2097a2877
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097448
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
      > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
      > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
      > Commit-Queue: Dan Elphick <delphick@chromium.org>
      > Cr-Commit-Position: refs/heads/main@{#76424}
      
      Cq-Include-Trybots: luci.v8.try:v8_linux_vtunejit
      Bug: v8:11965
      Change-Id: I99f5d3a73bf8fe25b650adfaf9567dc4e44a09e6
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3113629Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76460}
      ec06bb6c
  19. 23 Aug, 2021 3 commits
    • Dan Elphick's avatar
      Revert "[include] Split out v8.h" · 44fe02ce
      Dan Elphick authored
      This reverts commit d1b27019.
      
      Reason for revert: Broke vtune build, tsan build and possibly others
      
      Original change's description:
      > [include] Split out v8.h
      >
      > This moves every single class/function out of include/v8.h into a
      > separate header in include/, which v8.h then includes so that
      > externally nothing appears to have changed.
      >
      > Every include of v8.h from inside v8 has been changed to a more
      > fine-grained include.
      >
      > Previously inline functions defined at the bottom of v8.h would call
      > private non-inline functions in the V8 class. Since that class is now
      > in v8-initialization.h and is rarely included (as that would create
      > dependency cycles), this is not possible and so those methods have been
      > moved out of the V8 class into the namespace v8::api_internal.
      >
      > None of the previous files in include/ now #include v8.h, which means
      > if embedders were relying on this transitive dependency then it will
      > give compile failures.
      >
      > v8-inspector.h does depend on v8-scripts.h for the time being to ensure
      > that Chrome continue to compile but that change will be reverted once
      > those transitive #includes in chrome are changed to include it directly.
      >
      > Full design:
      > https://docs.google.com/document/d/1rTD--I8hCAr-Rho1WTumZzFKaDpEp0IJ8ejZtk4nJdA/edit?usp=sharing
      >
      > Bug: v8:11965
      > Change-Id: I53b84b29581632710edc80eb11f819c2097a2877
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097448
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
      > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
      > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
      > Commit-Queue: Dan Elphick <delphick@chromium.org>
      > Cr-Commit-Position: refs/heads/main@{#76424}
      
      Bug: v8:11965
      Change-Id: Id57313ae992e720c8b19abc975cd69729e1344aa
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3113627
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Owners-Override: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76428}
      44fe02ce
    • Maya Lekova's avatar
      [fastcall] Fix internal OOB in FastCAPI.fast_call_count · a92cba8c
      Maya Lekova authored
      The fast_call_count getter in d8 was not properly initialised as
      throwing when called as a constructor. As a result, it was possible
      to pass a new object as its `this` and then attempt to "unwrap" it,
      resulting in reading OOB in the new object. This CL also strenghtens
      slow_call_count and reset_counts and adds a regression test.
      
      Bug: chromium:1241464
      Change-Id: I9b6e9a4e38a974dc111a53b911c73514c30de9df
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3110369Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Commit-Queue: Maya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76426}
      a92cba8c
    • Dan Elphick's avatar
      [include] Split out v8.h · d1b27019
      Dan Elphick authored
      This moves every single class/function out of include/v8.h into a
      separate header in include/, which v8.h then includes so that
      externally nothing appears to have changed.
      
      Every include of v8.h from inside v8 has been changed to a more
      fine-grained include.
      
      Previously inline functions defined at the bottom of v8.h would call
      private non-inline functions in the V8 class. Since that class is now
      in v8-initialization.h and is rarely included (as that would create
      dependency cycles), this is not possible and so those methods have been
      moved out of the V8 class into the namespace v8::api_internal.
      
      None of the previous files in include/ now #include v8.h, which means
      if embedders were relying on this transitive dependency then it will
      give compile failures.
      
      v8-inspector.h does depend on v8-scripts.h for the time being to ensure
      that Chrome continue to compile but that change will be reverted once
      those transitive #includes in chrome are changed to include it directly.
      
      Full design:
      https://docs.google.com/document/d/1rTD--I8hCAr-Rho1WTumZzFKaDpEp0IJ8ejZtk4nJdA/edit?usp=sharing
      
      Bug: v8:11965
      Change-Id: I53b84b29581632710edc80eb11f819c2097a2877
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097448Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#76424}
      d1b27019
  20. 19 Aug, 2021 3 commits
  21. 17 Aug, 2021 2 commits
  22. 16 Aug, 2021 3 commits
    • Clemens Backes's avatar
      Reland "[d8] Use predictable platform if --predictable is passed" · 0d0e29f3
      Clemens Backes authored
      This is a reland of e2016cf0. The fix is
      in PS2, with a comment why it is needed.
      
      Original change's description:
      > [d8] Use predictable platform if --predictable is passed
      >
      > We currently only use the predictable platform if --verify-predictable
      > is passed, which is confusing and not following the comment on the
      > --predictable flag ("enable predictable mode").
      >
      > This CL fixes that and makes --verify-predictable imply --predictable to
      > also allow to only pass --verify-predictable.
      >
      > R=ahaas@chromium.org
      > CC=mlippautz@chromium.org
      >
      > Bug: v8:11879
      > Change-Id: Ifb9683ddc4fab374ce519169533c90244175bb48
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3094010
      > Reviewed-by: Andreas Haas <ahaas@chromium.org>
      > Commit-Queue: Clemens Backes <clemensb@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#76305}
      
      Bug: v8:11879
      Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_isolates_rel_ng
      Change-Id: I7bb7a6af722ee1cc447bc668385543dd72fd309b
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097867
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#76322}
      0d0e29f3
    • Clemens Backes's avatar
      Revert "[d8] Use predictable platform if --predictable is passed" · 4424ac4b
      Clemens Backes authored
      This reverts commit e2016cf0.
      
      Reason for revert: TSan issues: https://ci.chromium.org/p/v8/builders/ci/V8%20Linux64%20TSAN%20-%20isolates/16209
      
      Original change's description:
      > [d8] Use predictable platform if --predictable is passed
      >
      > We currently only use the predictable platform if --verify-predictable
      > is passed, which is confusing and not following the comment on the
      > --predictable flag ("enable predictable mode").
      >
      > This CL fixes that and makes --verify-predictable imply --predictable to
      > also allow to only pass --verify-predictable.
      >
      > R=​ahaas@chromium.org
      > CC=​mlippautz@chromium.org
      >
      > Bug: v8:11879
      > Change-Id: Ifb9683ddc4fab374ce519169533c90244175bb48
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3094010
      > Reviewed-by: Andreas Haas <ahaas@chromium.org>
      > Commit-Queue: Clemens Backes <clemensb@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#76305}
      
      Bug: v8:11879
      Change-Id: I8a76c1d1dcfefd296b9cca959192af63aa1219bb
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3097282
      Auto-Submit: Clemens Backes <clemensb@chromium.org>
      Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#76306}
      4424ac4b
    • Clemens Backes's avatar
      [d8] Use predictable platform if --predictable is passed · e2016cf0
      Clemens Backes authored
      We currently only use the predictable platform if --verify-predictable
      is passed, which is confusing and not following the comment on the
      --predictable flag ("enable predictable mode").
      
      This CL fixes that and makes --verify-predictable imply --predictable to
      also allow to only pass --verify-predictable.
      
      R=ahaas@chromium.org
      CC=mlippautz@chromium.org
      
      Bug: v8:11879
      Change-Id: Ifb9683ddc4fab374ce519169533c90244175bb48
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3094010Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#76305}
      e2016cf0
  23. 12 Aug, 2021 1 commit
  24. 11 Aug, 2021 1 commit
  25. 10 Aug, 2021 1 commit
  26. 09 Aug, 2021 1 commit
  27. 02 Aug, 2021 1 commit
  28. 30 Jul, 2021 1 commit
  29. 29 Jul, 2021 1 commit
  30. 23 Jul, 2021 1 commit
  31. 20 Jul, 2021 1 commit
  32. 16 Jul, 2021 1 commit
    • Maya Lekova's avatar
      Revert "[fastcall] Implement support for TypedArray arguments" · aaa2b486
      Maya Lekova authored
      This reverts commit 84d5b027.
      
      Reason for revert: Breaks UBSan - https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20UBSan/17349/overview
      
      Original change's description:
      > [fastcall] Implement support for TypedArray arguments
      >
      > This CL adds TypedArrays as supported arguments for fast API calls.
      > It implements "exact type" matching, i.e. if Float32Array is expected
      > and e.g. Int32Array is passed instead, the generated code bails to the
      > slow callback.
      >
      > Bug: chromium:1052746, chromium:1018624
      > Change-Id: I01d4e681d2b367cbb57b06effcb591c090a23295
      > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2999094
      > Commit-Queue: Maya Lekova <mslekova@chromium.org>
      > Reviewed-by: Georg Neis <neis@chromium.org>
      > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#75756}
      
      Bug: chromium:1052746, chromium:1018624
      Change-Id: I998afe766330f90efc878faa0e9546e709ddc4be
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3035088
      Auto-Submit: Maya Lekova <mslekova@chromium.org>
      Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Cr-Commit-Position: refs/heads/master@{#75758}
      aaa2b486