1. 12 Jan, 2016 1 commit
    • littledan's avatar
      TypedArray and ArrayBuffer support for @@species · 2bd9bdbe
      littledan authored
      This patch improves ArrayBuffer and TypedArray subclassing by adding
      support for @@species and constructing outputs to certain methods
      by creating an instance of the constructor determined by the
      SpeciesConstructor algorithm, rather than fixed to a superclass or
      naively the constructor. The new behavior is enabled by the
      --harmony-species flag. Care is taken to not significantly change the
      observable behavior when the flag is off. Previously, TypedArrays
      already supported subclassing by reading the constructor of the
      receiver, but ArrayBuffers did not, and this old behavior is
      preserved and tested for, to avoid a multi-stage upgrade path and keep
      things simple for users.
      
      R=adamk
      BUG=v8:4093
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1574903004
      
      Cr-Commit-Position: refs/heads/master@{#33223}
      2bd9bdbe
  2. 01 Jan, 2016 1 commit
  3. 04 Dec, 2015 1 commit
  4. 03 Dec, 2015 1 commit
  5. 01 Dec, 2015 1 commit
  6. 22 Oct, 2015 1 commit
  7. 20 Oct, 2015 1 commit
  8. 15 Oct, 2015 1 commit
  9. 13 Oct, 2015 1 commit
    • mstarzinger's avatar
      Move builtin JavaScript sources into own directory. · e5320d8a
      mstarzinger authored
      This moves JavaScript source files that are bundled with V8 into a
      separate directory. The goal is to improve code readability and also
      being able to formalize ideal reviewers by subsequently adding the
      OWNERS file. These files almost exclusively contain implementations
      of methods fully specified by ES6.
      
      Note that files in the "debug" directory as well as the "d8.js" file
      aren't affected by this change.
      
      R=rossberg@chromium.org
      
      Review URL: https://codereview.chromium.org/1398733002
      
      Cr-Commit-Position: refs/heads/master@{#31230}
      e5320d8a
  10. 08 Oct, 2015 1 commit
  11. 07 Oct, 2015 1 commit
  12. 01 Oct, 2015 1 commit
    • bmeurer's avatar
      [es6] Fix missing bits for full @@toPrimitive support. · 2a0759d3
      bmeurer authored
      Introduce %_ToNumber intrinsic, which just calls to the existing
      ToNumberStub, and remove all uses of our custom JavaScript plus
      intrinsics based ToNumber and friends.
      
      Also replace the TO_NUMBER_INLINE macro with TO_NUMBER,
      which is currently a wrapper for %_ToNumber. Newly written JS
      code should use TO_NUMBER (similar to TO_STRING, TO_INT32,
      and friends).
      
      Also finally remove the DefaultString/DefaultNumber builtins, which
      are basically the ES5 version of ToPrimitive. Now all code uses the
      ES6 version, which is implemented in Object::ToPrimitive and
      JSReceiver::ToPrimitive in C++.
      
      CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_layout_dbg,v8_linux_nosnap_dbg
      R=jarin@chromium.org
      BUG=v8:4307
      LOG=n
      
      Review URL: https://codereview.chromium.org/1384443002
      
      Cr-Commit-Position: refs/heads/master@{#31054}
      2a0759d3
  13. 28 Aug, 2015 1 commit
  14. 19 Aug, 2015 1 commit
    • yangguo's avatar
      Native context: debug.js does not load from js builtins object anymore. · eb8c0928
      yangguo authored
      This mainly changes how we share ToBoolean, ToNumber and ToString between
      native scripts. Instead of putting them on the js builtins object, we now
      explicitly export and import those functions.
      
      I also had to change the import/export mechanism slightly. Previously,
      exports and imports are hooked up after all native scripts have been
      executed. This means that imported functions cannot be called at the time
      the native script is executed.
      
      However, since ToBoolean (and also e.g. ObjectDefineProperties) is called
      in v8natives.js, I changed the mechanism so that exports from previous
      native scripts (runtime.js for ToBoolean) is imported immediately and can
      be called.
      
      R=cbruni@chromium.org
      
      Review URL: https://codereview.chromium.org/1302533002
      
      Cr-Commit-Position: refs/heads/master@{#30244}
      eb8c0928
  15. 26 May, 2015 1 commit
  16. 22 May, 2015 7 commits
  17. 21 May, 2015 1 commit
  18. 20 May, 2015 2 commits
  19. 11 May, 2015 1 commit
  20. 07 May, 2015 1 commit
  21. 06 May, 2015 3 commits
  22. 05 May, 2015 2 commits
  23. 04 May, 2015 2 commits
  24. 30 Apr, 2015 2 commits
  25. 17 Apr, 2015 1 commit
  26. 16 Apr, 2015 2 commits
  27. 15 Apr, 2015 1 commit