1. 25 Apr, 2022 1 commit
  2. 05 Feb, 2022 1 commit
  3. 23 Jun, 2021 1 commit
  4. 16 Feb, 2021 1 commit
  5. 14 Oct, 2020 1 commit
  6. 09 Jan, 2020 1 commit
  7. 05 Aug, 2019 1 commit
  8. 27 Jun, 2019 1 commit
    • Z Nguyen-Huu's avatar
      Implement fastpath for proxy trap setPrototypeOf · fc8c4ef2
      Z Nguyen-Huu authored
      ObjectSetPrototypeOf and ReflectSetPrototypeOf are now Torque builtins (previously CPP) and the Proxy path is implemented completely in Torque while everything else calls into runtime (and is thus a bit slower than previously).
      
      Perf improvement in micro-benchmark JSTests/Proxies
      Before:
      SetPrototypeOfWithoutTrap-Proxies(Score): 120
      SetPrototypeOfWithTrap-Proxies(Score): 112
      
      After:
      SetPrototypeOfWithoutTrap-Proxies(Score): 131
      SetPrototypeOfWithTrap-Proxies(Score): 127
      
      Bug: v8:6664
      Change-Id: I630096e1964c91d1ec39e19f380a2e9e948de4bb
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1669787
      Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62402}
      fc8c4ef2
  9. 26 Jun, 2019 1 commit
  10. 18 Jun, 2019 1 commit
    • Z Nguyen-Huu's avatar
      Implement fastpath for proxy trap getPrototypeOf · 4e17a6be
      Z Nguyen-Huu authored
      ObjectGetPrototypeOf and ReflectGetPrototypeOf are now Torque builtins (previously CPP) and the Proxy path is implemented completely in Torque while everything else calls into runtime (and is thus a bit slower than previously).
      
      Perf improvement in micro-benchmark JSTests/Proxies
      Before:
      GetPrototypeOfWithoutTrap-Proxies(Score): 1876
      GetPrototypeOfWithTrap-Proxies(Score): 857
      
      After:
      GetPrototypeOfWithoutTrap-Proxies(Score): 2810
      GetPrototypeOfWithTrap-Proxies(Score): 3197
      
      Bug: v8:6664
      Change-Id: If60dda67d6e90c2d6f0ec743f6cb7c0fff54d607
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1658717
      Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62256}
      4e17a6be
  11. 12 Jun, 2019 1 commit
    • Z Nguyen-Huu's avatar
      Add fast path for proxy with preventExtensions trap · 8e0ef9b9
      Z Nguyen-Huu authored
      ObjectPreventExtensions and ReflectPreventExtensions are now Torque builtins (previously CPP) and the Proxy path is implemented completely in Torque while everything else calls into runtime (and is thus a bit slower than previously).
      
      Perf improvement in micro-benchmark JSTests/Proxies
      Before:
      PreventExtensionsWithoutTrap-Proxies(Score): 1978
      PreventExtensionsWithTrap-Proxies(Score): 739
      
      After:
      PreventExtensionsWithoutTrap-Proxies(Score): 3017
      PreventExtensionsWithTrap-Proxies(Score): 2044
      
      Bug: v8:6664
      Change-Id: I6505d730cea6b0d197f6f5d0540b39056c8b763d
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1652688
      Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62130}
      8e0ef9b9
  12. 05 Jun, 2019 1 commit
  13. 23 May, 2019 1 commit
  14. 22 May, 2019 1 commit
  15. 21 May, 2019 1 commit
  16. 20 May, 2019 2 commits
  17. 17 May, 2019 2 commits
  18. 15 Feb, 2019 1 commit
  19. 25 Jan, 2019 1 commit
    • Mythri's avatar
      Defer inferring language mode as far as possible · 592aeefa
      Mythri authored
      Inferring the language mode involves iterating the stack to find the
      closure. This is an expensive operation and should be done only when
      required. This cl changes the implementation to infer the language
      mode only when we can't defer it any further. Currently, we infer the
      language mode when throwing an exception or when passing this
      information to PropertyCallbackArguments.
      
      This cl also changes the language mode parameter to SetProperty
      related methods to Maybe<ShouldThrow>. We only use the language mode to
      decide if we need to throw and using ShouldThrow instead of language
      mode simplifies the code by avoiding conversions from Maybe<ShouldThrow>
      to Maybe<LanguageMode> and vice-versa.
      
      Bug: v8:8580, chromium:923820, chromium:925289
      Change-Id: I72497497f62fe0d86fcecd57b06b3183b7531f7b
      Reviewed-on: https://chromium-review.googlesource.com/c/1425912
      Commit-Queue: Mythri Alle <mythria@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59094}
      592aeefa
  20. 26 Dec, 2018 1 commit
  21. 13 Dec, 2018 1 commit
  22. 12 Dec, 2018 2 commits
  23. 08 Dec, 2018 1 commit
  24. 11 Oct, 2018 1 commit
  25. 03 Aug, 2018 1 commit
  26. 01 Aug, 2018 1 commit
  27. 13 Jul, 2018 1 commit
  28. 03 Jul, 2018 1 commit
  29. 25 Jun, 2018 1 commit
  30. 16 Apr, 2018 1 commit
  31. 08 Feb, 2018 1 commit
  32. 22 Jan, 2018 1 commit
  33. 11 Jan, 2018 1 commit
  34. 10 Jan, 2018 2 commits
  35. 17 Nov, 2017 1 commit
  36. 25 Oct, 2017 1 commit
    • Jakob Kummerow's avatar
      [bigint] Fix abstract equality with junk strings · 98df94cd
      Jakob Kummerow authored
      Abstract equality comparison of a BigInt and a String converts the
      latter to BigInt. This conversion can fail; since we do not want to
      pass a context to the comparison function, we must signal such failure
      without throwing an exception.
      This CL uses the existing ShouldThrow enum to configure behavior of
      String-to-BigInt conversion, moving it out of Object into globals.h.
      
      Bug: v8:6791, v8:6979
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Ibb98675079b8392cf03bbcbbbd5556108500a32d
      Reviewed-on: https://chromium-review.googlesource.com/734172
      Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48946}
      98df94cd