1. 09 Aug, 2019 1 commit
  2. 30 Jul, 2019 1 commit
  3. 28 Jun, 2019 1 commit
  4. 24 Jun, 2019 1 commit
    • Mathias Bynens's avatar
      [objects] Rename JSValue to JSPrimitiveWrapper · e428dfd7
      Mathias Bynens authored
      We currently use the class name “JSValue” for JSObjects that wrap
      primitive values. This name is a common source of confusion. This patch
      switches to a name that’s more clear.
      
      In addition to manual tweaks, the patch applies the following mechanical
      global replacements:
      
      before                          | after
      --------------------------------|--------------------------------------
      if_valueisnotvalue              | if_valueisnotwrapper
      if_valueisvalue                 | if_valueiswrapper
      js_value                        | js_primitive_wrapper
      JS_VALUE_TYPE                   | JS_PRIMITIVE_WRAPPER_TYPE
      JSPrimitiveWrapperType          | JSPrimitiveWrapper type
      jsvalue                         | js_primitive_wrapper
      JSValue                         | JSPrimitiveWrapper
      _GENERATED_JSVALUE_FIELDS       | _GENERATED_JSPRIMITIVE_WRAPPER_FIELDS
      
      Change-Id: I9d9edea784eab6067b013e1f781e4db2070f807c
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1672942Reviewed-by: 's avatarTamer Tas <tmrts@chromium.org>
      Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Mathias Bynens <mathias@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62337}
      e428dfd7
  5. 17 Jun, 2019 1 commit
  6. 06 Jun, 2019 1 commit
  7. 31 May, 2019 1 commit
  8. 24 May, 2019 1 commit
  9. 23 May, 2019 3 commits
  10. 22 May, 2019 1 commit
  11. 21 May, 2019 1 commit
  12. 20 May, 2019 3 commits
  13. 17 May, 2019 1 commit
  14. 16 May, 2019 2 commits
  15. 15 May, 2019 1 commit
  16. 08 May, 2019 1 commit
  17. 01 May, 2019 1 commit
  18. 30 Apr, 2019 1 commit
  19. 29 Apr, 2019 1 commit
    • Clemens Hammacher's avatar
      [cleanup] Use Vector::begin instead of Vector::start · 4b0f9c85
      Clemens Hammacher authored
      Our {Vector} template provides both {start} and {begin} methods. They
      return exactly the same value. Since the {begin} method is needed for
      iteration, and is also what standard containers provide, this CL
      switches all uses of the {start} method to use {begin} instead.
      
      Patchset 1 was auto-generated by using this clang AST matcher:
          callExpr(
              callee(
                cxxMethodDecl(
                  hasName("start"),
                  ofClass(hasName("v8::internal::Vector")))
              ),
              argumentCountIs(0))
      
      Patchset 2 was created by running clang-format. Patchset 3 then
      removes the now unused {Vector::start} method.
      
      R=jkummerow@chromium.org
      TBR=mstarzinger@chromium.org,yangguo@chromium.org,verwaest@chromium.org
      
      Bug: v8:9183
      Change-Id: Id9f01c92870872556e2bb3f6d5667463b0e3e5c6
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1587381Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61081}
      4b0f9c85
  20. 12 Apr, 2019 1 commit
    • Benedikt Meurer's avatar
      [debug] Forcibly instantiate lazy accessor pairs when setting break points. · 3a7ce5de
      Benedikt Meurer authored
      Previously we had some kind of self-healing when calling lazy accessor
      pairs via InvokeApiFunction(), but we also have other paths for calling
      into FunctionTemplateInfos directly, which didn't do this check. Since
      we already walk the heap when installing the DebugBreakTrampoline, and
      compile all uncompiled functions, we can also just forcibly instantiate
      all the lazy accessor pairs at that time and not have to worry about the
      break-at-entry later.
      
      Bug: v8:178, v8:7596, v8:8834
      Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
      Change-Id: I514392cf328fc8ed0b80ad19009f32e20ff850b8
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1565890Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60813}
      3a7ce5de
  21. 13 Mar, 2019 1 commit
  22. 12 Mar, 2019 1 commit
  23. 27 Feb, 2019 2 commits
  24. 14 Feb, 2019 1 commit
  25. 01 Feb, 2019 1 commit
  26. 07 Jan, 2019 1 commit
    • peterwmwong's avatar
      [js] Remove CORE JS Natives (prologue.js), port extra utils to C++/Torque · 263dce9b
      peterwmwong authored
      - Removes the last `CORE` JS native script: `prologue.js`.
      - Removes build step and bootstrapping associated with building/loading `CORE` JS natives.
      - Removes `natives_utils_object` from context.
      - Deprecates `--expose-natives-as` flag.
      - Ports extra utils functions to C++ (`uncurryThis`) or Torque
        (`createPrivateSymbol`, `markPromiseAsHandled`, and `promiseState`).
      - Move extra utils constants initialization into bootstrapper
        (`kPROMISE_PENDING`, `kPROMISE_FULFILLED`, `kPROMISE_REJECTED`).
      - Removes unused extra utils functions `log` and `logStackTrace`.
      
      Drive-by: Added test coverage for Array#includes being an unscopeable.
      
      Bug: v8:7624
      Change-Id: I5d983f8d11b76cb4dd3c2c67592ce1dc88364cd9
      Reviewed-on: https://chromium-review.googlesource.com/c/1381672Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
      Cr-Commit-Position: refs/heads/master@{#58577}
      263dce9b
  27. 20 Dec, 2018 1 commit
  28. 19 Dec, 2018 3 commits
  29. 17 Dec, 2018 1 commit
  30. 11 Dec, 2018 1 commit
    • peterwmwong's avatar
      [builtins] Port TypedArray join, toString, and toLocaleString to Torque. · d1c15973
      peterwmwong authored
      Micro-benchmarks show speed improvements across the various types:
      
      TypedArrays-JoinBigIntTypes                7246   8297  14.50%
      TypedArrays-JoinBigIntTypes                7194   8637  20.06%
      TypedArrays-JoinBigIntTypes                7258   8586  18.30%
      TypedArrays-JoinFloatTypes                24461  28628  17.04%
      TypedArrays-JoinFloatTypes                24523  29647  20.89%
      TypedArrays-JoinFloatTypes                24419  29327  20.10%
      TypedArrays-JoinIntTypes                  23378  33928  45.13%
      TypedArrays-JoinIntTypes                  23333  34034  45.86%
      TypedArrays-JoinIntTypes                  21653  34000  57.02%
      TypedArrays-JoinWithSeparatorBigIntTypes   6620   7339  10.86%
      TypedArrays-JoinWithSeparatorBigIntTypes   6566   7579  15.43%
      TypedArrays-JoinWithSeparatorBigIntTypes   6631   7481  12.82%
      TypedArrays-JoinWithSeparatorFloatTypes   18695  19670   5.22%
      TypedArrays-JoinWithSeparatorFloatTypes   18518  20088   8.48%
      TypedArrays-JoinWithSeparatorFloatTypes   18482  20193   9.26%
      TypedArrays-JoinWithSeparatorIntTypes     17849  21482  20.35%
      TypedArrays-JoinWithSeparatorIntTypes     17831  21578  21.01%
      TypedArrays-JoinWithSeparatorIntTypes     17937  21578  20.30%
      
      Drive-by: Removed unused CSA helper InternalArrayCreate.
      
      Bug: v8:7624
      Change-Id: I8e63815982439cfd2267417d03cd2b71b4b7a812
      Reviewed-on: https://chromium-review.googlesource.com/c/1369330
      Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#58167}
      d1c15973
  31. 08 Dec, 2018 1 commit
  32. 25 Nov, 2018 1 commit