1. 02 Feb, 2017 3 commits
  2. 01 Feb, 2017 1 commit
  3. 31 Jan, 2017 1 commit
  4. 20 Jan, 2017 1 commit
  5. 19 Jan, 2017 3 commits
  6. 18 Jan, 2017 1 commit
  7. 17 Jan, 2017 1 commit
  8. 13 Jan, 2017 2 commits
  9. 12 Jan, 2017 2 commits
    • adamk's avatar
      [promises] Remove unneeded PromiseCreate function from promise.js · a0e3a8ee
      adamk authored
      This function was only needed for extrasUtils. Since it was simply
      calling a builtin function, just expose that builtin instead. This
      requires an arguments adapter frame for the builtin. As a drive-by
      fix, also added an arguments adapter for the extrasUtils.resolvePromise
      (and a regression test).
      
      Other cleanup: removed unused native context slot for PROMISE_SET_AND_CREATE.
      
      R=gsathya@chromium.org
      BUG=v8:5343
      
      Review-Url: https://codereview.chromium.org/2626793003
      Cr-Commit-Position: refs/heads/master@{#42284}
      a0e3a8ee
    • littledan's avatar
      [intl] Remove indirection in Intl objects · db13ed1d
      littledan authored
      With the new initialization semantics, the V8 ECMA 402 (Intl)
      implementation does not need to indirect through a symbol to
      get at the underlying object. This patch removes that indirection,
      simplifying the implementation.
      
      R=yangguo@chromium.org
      BUG=v8:5751
      CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng
      
      Review-Url: https://codereview.chromium.org/2601833002
      Cr-Commit-Position: refs/heads/master@{#42281}
      db13ed1d
  10. 11 Jan, 2017 1 commit
    • jshin's avatar
      Move lang-code checking for case-mapping to C++ from JS · db883422
      jshin authored
      Move the language code checking for 4 languages requiring
      special case mapping to C++ from JavaScript.
      
      This is a speculative fix for crashes reported from Windows and
      Mac Chrome canary builds when icu-case-mapping is enabled by
      default. (see crbug.com/676643)
      
      In addition, tighten up comparision operators in a couple of
      places in i18n.js (=== and !== instead of == and !=).
      
      BUG=v8:4477, v8:4476, chromium:676643
      TEST=test262/{built-ins,intl402}/Strings/*, webkit/fast/js/*,
           mjsunit/string-case, intl/general/case*
      
      Review-Url: https://codereview.chromium.org/2621393002
      Cr-Commit-Position: refs/heads/master@{#42246}
      db883422
  11. 10 Jan, 2017 2 commits
  12. 09 Jan, 2017 2 commits
  13. 07 Jan, 2017 2 commits
    • machenbach's avatar
      Revert of [intl] Remove redundant type checking system (patchset #4 id:60001... · b1e4f79e
      machenbach authored
      Revert of [intl] Remove redundant type checking system (patchset #4 id:60001 of https://codereview.chromium.org/2600913002/ )
      
      Reason for revert:
      Breaks noi18n.
      
      Original issue's description:
      > [intl] Remove redundant type checking system
      >
      > Previously, the Intl implementation tracked types two ways:
      >  - In the intl_initialized_marker_symbol
      >  - In various named properties of the intl_impl_object_symbol value
      >
      > As far as I can tell, these will never disagree with each other,
      > modulo bugs in Intl itself. This patch removes the second type
      > checking system.
      >
      > This reland includes a fixed type check for
      > Intl.DateTimeFormat.prototype.formatToParts , which is the only Intl
      > method which is not bound. All future methods will follow this
      > pattern.
      >
      > BUG=v8:5751,chromium:677055, v8:4962
      > CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng
      >
      > Review-Url: https://codereview.chromium.org/2600913002
      > Cr-Commit-Position: refs/heads/master@{#42118}
      > Committed: https://chromium.googlesource.com/v8/v8/+/aa8a2d2789f79c2c367db406e453b9044e594e25
      
      TBR=yangguo@chromium.org,adamk@chromium.org,littledan@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:5751,chromium:677055, v8:4962
      
      Review-Url: https://codereview.chromium.org/2617323002
      Cr-Commit-Position: refs/heads/master@{#42119}
      b1e4f79e
    • littledan's avatar
      [intl] Remove redundant type checking system · aa8a2d27
      littledan authored
      Previously, the Intl implementation tracked types two ways:
       - In the intl_initialized_marker_symbol
       - In various named properties of the intl_impl_object_symbol value
      
      As far as I can tell, these will never disagree with each other,
      modulo bugs in Intl itself. This patch removes the second type
      checking system.
      
      This reland includes a fixed type check for
      Intl.DateTimeFormat.prototype.formatToParts , which is the only Intl
      method which is not bound. All future methods will follow this
      pattern.
      
      BUG=v8:5751,chromium:677055, v8:4962
      CQ_INCLUDE_TRYBOTS=master.tryserver.v8:v8_linux_noi18n_rel_ng
      
      Review-Url: https://codereview.chromium.org/2600913002
      Cr-Commit-Position: refs/heads/master@{#42118}
      aa8a2d27
  14. 06 Jan, 2017 1 commit
  15. 04 Jan, 2017 3 commits
  16. 03 Jan, 2017 1 commit
    • gsathya's avatar
      [promises] Refactor debug code · a2c15ba3
      gsathya authored
      -- Removes remaning debug from promise.js and moves it to c++
      -- Changes debug_id to be a smi in PromiseReactionJobInfo and
         PromiseResolveThenableJobInfo.
      -- Changes debug_name to be a smi in PromiseReactionJobInfo and
         PromiseResolveThenableJobInfo.
      -- Adds PromiseDebugActionName and PromiseDebugActionType enums
      -- Adds PromiseDebugActionNameToString and
         PromiseDebugActionTypeToString helper methods
      -- Changes variable `status` to be int in runtime functions.
      -- Changes debug_id to start from 1, not 0 for easier bookkeeping.
      
      BUG=v8:5343
      
      Review-Url: https://codereview.chromium.org/2606093002
      Cr-Commit-Position: refs/heads/master@{#42052}
      a2c15ba3
  17. 02 Jan, 2017 1 commit
    • caitp's avatar
      [promises] port NewPromiseCapability to TF · 4f95a1eb
      caitp authored
      - Adds CodeAssembler::ConstructJS() to simplify calling JS functions as
      constructors, used by NewPromiseCapability()
      - Defines PromiseCapability as a special JSObject subclass, with a
      non-exensible Map, and read-only non-configurable DataDescriptors which
      point to its in-object fields. This allows its fields to be used by JS
      builtins until there is no longer any need.
      
      Currently, the performance benefit comes from
      https://codereview.chromium.org/2567033003/, but does not appear to
      regress performance in any significant way.
      
      BUG=v8:5343
      TBR=ulan@chromium.org
      
      Review-Url: https://codereview.chromium.org/2567333002
      Cr-Commit-Position: refs/heads/master@{#42014}
      4f95a1eb
  18. 29 Dec, 2016 1 commit
    • gsathya's avatar
      [promises] Remove deferred object · 5668ce39
      gsathya authored
      This patch stores the promise, resolve, reject properties of the
      deferred object created by CreateInternalPromiseCapability and
      NewPromiseCapability directly on the promise (if the promise hasn't
      been fulfilled), otherwise they are stored on the
      PromiseReactionJobInfo.
      
      This patch removes the currently unused
      CreateInternalPromiseCapability and inlines the call to create the
      deferred promise object.
      
      NewPromiseCapability is the only function that works with a deferred.
      
      This patch results in a 8.5% improvement in benchmarks over 5 runs.
      
      BUG=v8:5343
      
      Review-Url: https://codereview.chromium.org/2590563003
      Cr-Commit-Position: refs/heads/master@{#41991}
      5668ce39
  19. 27 Dec, 2016 1 commit
  20. 23 Dec, 2016 2 commits
  21. 22 Dec, 2016 1 commit
  22. 21 Dec, 2016 5 commits
  23. 20 Dec, 2016 2 commits