1. 02 Aug, 2017 1 commit
  2. 25 Jul, 2017 1 commit
  3. 18 Jul, 2017 1 commit
  4. 28 Jun, 2017 1 commit
    • Igor Sheludko's avatar
      [runtime] Cleanup native methods creation in js/array.js. · bb70859f
      Igor Sheludko authored
      This CL replaces usages of utils.InstallFunctions and utils.InstallGetter()
      with the DEFINE_METHOD* macros that ensure that the native function is
      created in proper form from the beginning. Thus the function will not
      require further reconfiguring like adding a computed name or removing of
      'prototype' property.
      
      This CL is one of a series of cleanup CL which are the preliminary steps for
      improving function closures creation.
      
      Bug: v8:6459
      Change-Id: Iff4b0754677e8b71f893ea29a06da64b58b41b27
      Reviewed-on: https://chromium-review.googlesource.com/548056
      Commit-Queue: Igor Sheludko <ishell@chromium.org>
      Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46280}
      bb70859f
  5. 06 Jun, 2017 1 commit
    • Igor Sheludko's avatar
      [parser] Introduce SharedFunctionInfo::has_shared_name(). · 9a2c18f5
      Igor Sheludko authored
      Properly propagate the fact that the function has a statically known name from
      parser to SharedFunctionInfo objects. The empty string that has been set as
      name before this CL does not help to distinguish cases like:
        var o1 = { ''(){} };
        var o1 = { [foo()](){} };
      or
        var o2 = { get ''(){} };
        var o2 = { get [foo()](){} };
      
      This is a preliminary step for using different layouts for closure objects with
      and without computed names.
      
      TBR=bmeurer@chromium.org, marja@chromium.org
      
      Bug: v8:6459
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I10afa6f4bda7881c3714711a75f720f83c1d875d
      Reviewed-on: https://chromium-review.googlesource.com/522073
      Commit-Queue: Igor Sheludko <ishell@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45744}
      9a2c18f5
  6. 24 Apr, 2017 1 commit
  7. 20 Apr, 2017 1 commit
  8. 14 Apr, 2017 1 commit
  9. 03 Apr, 2017 1 commit
  10. 25 Mar, 2017 1 commit
  11. 24 Mar, 2017 1 commit
  12. 22 Mar, 2017 1 commit
    • mvstanton's avatar
      Always run our fast array builtins. · 1fe5f0e3
      mvstanton authored
      Before, we carefully turned on fast array builtins only if flag
      --enable-fast-array-builtins was true (though it was implied true
      if --turbo was on). Now, the set of Array.prototype.{some, forEach,
      every, reduce} is good enough to always turn them on. This means
      we can remove the JavaScript implementations.
      
      The flag is renamed to --experimental-fast-array-builtins, which is
      off. In the next days we'll add more non-javascript implementations
      here for testing.
      
      BUG=
      R=danno@chromium.org
      
      Review-Url: https://codereview.chromium.org/2761783002
      Cr-Commit-Position: refs/heads/master@{#44026}
      1fe5f0e3
  13. 20 Mar, 2017 1 commit
  14. 16 Mar, 2017 1 commit
  15. 15 Feb, 2017 1 commit
    • caitp's avatar
      Reland [typedarrays] move %TypedArray%.prototype.copyWithin to C++ · dc302c74
      caitp authored
      - Removes shared InnerArrayCopyWithin JS builtin from src/js/array.js
      - Implements %TypedArray%.prototype.copyWithin as a C++ builtin, which
      relies on std::memmove rather than accessing individual eleements.
      - Fixes the case where copyWithin is invoked on a TypedArray with a
      detached buffer.
      - Add tests to ensure that +/-Infinity (for all 3 parameters) is handled
        correctly by the
      algorithm
      
      The C++ version gets through the benchmark more than 25000 times as
      quickly as the JS implementation.
      
      BUG=v8:5925, v8:5929, v8:4648
      R=cbruni@chromium.org, adamk@chromium.org, littledan@chromium.org
      
      Review-Url: https://codereview.chromium.org/2697593002
      Cr-Commit-Position: refs/heads/master@{#43213}
      dc302c74
  16. 12 Feb, 2017 1 commit
    • littledan's avatar
      Revert of [typedarrays] move %TypedArray%.prototype.copyWithin to C++... · 4530f0dc
      littledan authored
      Revert of [typedarrays] move %TypedArray%.prototype.copyWithin to C++ (patchset #6 id:100001 of https://codereview.chromium.org/2671233002/ )
      
      Reason for revert:
      Due to security issue described in review thread.
      
      Original issue's description:
      > [typedarrays] move %TypedArray%.prototype.copyWithin to C++
      >
      > - Removes shared InnerArrayCopyWithin JS builtin from src/js/array.js
      > - Implements %TypedArray%.prototype.copyWithin as a C++ builtin, which
      > relies on std::memmove rather than accessing individual eleements.
      > - Fixes the case where copyWithin is invoked on a TypedArray with a
      > detached buffer.
      > - Add tests to ensure that +/-Infinity (for all 3 parameters) is handled correctly by the
      > algorithm
      >
      > The C++ version gets through the benchmark more than 25000 times as
      > quickly as the JS implementation.
      >
      > BUG=v8:5925, v8:5929, v8:4648
      > R=cbruni@chromium.org, adamk@chromium.org, littledan@chromium.org
      >
      > Review-Url: https://codereview.chromium.org/2671233002
      > Cr-Commit-Position: refs/heads/master@{#42975}
      > Committed: https://chromium.googlesource.com/v8/v8/+/0f1c626d556cbf84b0e572635eb803729f88cbb3
      
      TBR=cbruni@chromium.org,adamk@chromium.org,bmeurer@chromium.org,cwhan.tunz@gmail.com,caitp@igalia.com
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=v8:5925, v8:5929, v8:4648
      
      Review-Url: https://codereview.chromium.org/2693753002
      Cr-Commit-Position: refs/heads/master@{#43132}
      4530f0dc
  17. 07 Feb, 2017 1 commit
    • raphael.kubo.da.costa's avatar
      Expose more %ArrayPrototype% functions to the public API. · e7b78ac2
      raphael.kubo.da.costa authored
      In addition to Array.prototype.values() which is already exposed, Blink
      needs access to entries(), forEach() and keys() to properly set the
      corresponding functions in value iterators for WebIDL conformance.
      
      Add a few new entries to NATIVE_CONTEXT_IMPORTED_FIELDS and expand
      V8_INTRINSICS_LIST, as well as some API tests for all these new exposed
      functions.
      
      BUG=chromium:632935
      R=caitp@igalia.com,jochen@chromium.org,verwaest@chromium.org,yukishiino@chromium.org
      
      Review-Url: https://codereview.chromium.org/2670833008
      Cr-Commit-Position: refs/heads/master@{#43017}
      e7b78ac2
  18. 06 Feb, 2017 1 commit
    • caitp's avatar
      [typedarrays] move %TypedArray%.prototype.copyWithin to C++ · 0f1c626d
      caitp authored
      - Removes shared InnerArrayCopyWithin JS builtin from src/js/array.js
      - Implements %TypedArray%.prototype.copyWithin as a C++ builtin, which
      relies on std::memmove rather than accessing individual eleements.
      - Fixes the case where copyWithin is invoked on a TypedArray with a
      detached buffer.
      - Add tests to ensure that +/-Infinity (for all 3 parameters) is handled correctly by the
      algorithm
      
      The C++ version gets through the benchmark more than 25000 times as
      quickly as the JS implementation.
      
      BUG=v8:5925, v8:5929, v8:4648
      R=cbruni@chromium.org, adamk@chromium.org, littledan@chromium.org
      
      Review-Url: https://codereview.chromium.org/2671233002
      Cr-Commit-Position: refs/heads/master@{#42975}
      0f1c626d
  19. 03 Feb, 2017 1 commit
  20. 04 Jan, 2017 1 commit
  21. 05 Dec, 2016 1 commit
    • bmeurer's avatar
      [builtins] Don't enforce I+TF for ArraySort helpers. · 704d737d
      bmeurer authored
      The current Array.prototype.sort implementation is pretty sensitive to
      compiler changes, i.e. switching to I+TF completely, so refactor it a
      bit so that it can stay with FCG+CS for now.
      
      Middle-term the Array builtins need to be refactored to TurboFan
      builtins anyways.
      
      BUG=chromium:670691,v8:5666
      R=jarin@chromium.org
      
      Review-Url: https://codereview.chromium.org/2553523002
      Cr-Commit-Position: refs/heads/master@{#41471}
      704d737d
  22. 18 Oct, 2016 1 commit
    • caitp's avatar
      [builtins] implement Array.prototype[@@iterator] in TFJ builtins · 86d0dd36
      caitp authored
      Implements the variations of CreateArrayIterator() in TFJ builtins
      (ArrayPrototypeValues, ArrayPrototypeEntries and ArrayPrototypeKeys), and
      provides two new Object types with numerous maps which identify certain
      behaviours, which will be useful for inlining.
      
      Removes src/js/array-iterator.js entirely
      
      Also adds support for printing Symbol literals inserted by the Parser during
      desugaring when FLAG_print_builtin_ast is set to true.
      
      BUG=v8:5388
      R=bmeurer@chromium.org, cbruni@chromium.org
      TBR=ulan@chromium.org
      
      Review-Url: https://codereview.chromium.org/2405253006
      Cr-Commit-Position: refs/heads/master@{#40373}
      86d0dd36
  23. 22 Aug, 2016 1 commit
  24. 09 Aug, 2016 1 commit
  25. 03 Aug, 2016 1 commit
  26. 02 Aug, 2016 1 commit
  27. 01 Aug, 2016 1 commit
  28. 20 Jul, 2016 1 commit
  29. 15 Jul, 2016 1 commit
  30. 12 Jul, 2016 1 commit
  31. 24 Jun, 2016 1 commit
  32. 23 Jun, 2016 1 commit
  33. 14 Jun, 2016 1 commit
  34. 03 Jun, 2016 2 commits
  35. 30 May, 2016 1 commit
  36. 25 May, 2016 3 commits
  37. 04 May, 2016 1 commit