1. 03 Jan, 2017 1 commit
  2. 22 Dec, 2016 1 commit
  3. 19 Dec, 2016 1 commit
  4. 14 Dec, 2016 3 commits
  5. 07 Dec, 2016 1 commit
  6. 05 Dec, 2016 2 commits
    • ynovikov's avatar
      Reland of [typedarrays] remove invalid optimization in NAMEConstructor()... · f5cb17a8
      ynovikov authored
      Reland of [typedarrays] remove invalid optimization in NAMEConstructor() (patchset #1 id:1 of https://codereview.chromium.org/2548583003/ )
      
      Reason for revert:
      The bot was not affected by the revert. Speculation was wrong.
      
      Original issue's description:
      > Revert of [typedarrays] remove invalid optimization in NAMEConstructor() (patchset #1 id:1 of https://codereview.chromium.org/2544503002/ )
      >
      > Reason for revert:
      > Speculative revert for causing timeouts on Win Debug gpu fyi bot
      >
      > Nothing else looks even remotely relevant in the list of changes.
      > Will reland if this doesn't fix the issues.
      >
      > BUG=670396
      >
      > Original issue's description:
      > > [typedarrays] remove invalid optimization in NAMEConstructor()
      > >
      > > Before, we were treating objects with the builtin ArrayValues iterator
      > > method as array-like, where the iterator would iterate through to the
      > > full length of the object.
      > >
      > > This optimization was not sound, because it does not ensure that the
      > > next method hasn't been modified. Even if it hasn't been modified,
      > > it's entirely possible to be modified during iteration. Thus, this
      > > optimization has been removed due to its observability.
      > >
      > > BUG=v8:5699
      > > R=littledan@chromium.org, cbruni@chromium.org
      > >
      > > Committed: https://crrev.com/77df8c67d9609ada3b7d79e8e6d33f198bbad5a1
      > > Cr-Commit-Position: refs/heads/master@{#41394}
      >
      > TBR=cbruni@chromium.org,littledan@chromium.org,caitp@igalia.com
      > # Not skipping CQ checks because original CL landed more than 1 days ago.
      > BUG=v8:5699
      >
      > Committed: https://crrev.com/0ea4a542202d501c4e550474e89512532571f3a0
      > Cr-Commit-Position: refs/heads/master@{#41461}
      
      TBR=cbruni@chromium.org,littledan@chromium.org,caitp@igalia.com,enne@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=670396
      
      Review-Url: https://codereview.chromium.org/2553873002
      Cr-Commit-Position: refs/heads/master@{#41504}
      f5cb17a8
    • neis's avatar
      [parsing] Fix bug in completion value of try-finally. · 67f1969a
      neis authored
      R=adamk@chromium.org, verwaest@chromium.org
      BUG=v8:5698
      
      Review-Url: https://codereview.chromium.org/2537413003
      Cr-Commit-Position: refs/heads/master@{#41495}
      67f1969a
  7. 02 Dec, 2016 1 commit
    • enne's avatar
      Revert of [typedarrays] remove invalid optimization in NAMEConstructor()... · 0ea4a542
      enne authored
      Revert of [typedarrays] remove invalid optimization in NAMEConstructor() (patchset #1 id:1 of https://codereview.chromium.org/2544503002/ )
      
      Reason for revert:
      Speculative revert for causing timeouts on Win Debug gpu fyi bot
      
      Nothing else looks even remotely relevant in the list of changes.
      Will reland if this doesn't fix the issues.
      
      BUG=670396
      
      Original issue's description:
      > [typedarrays] remove invalid optimization in NAMEConstructor()
      >
      > Before, we were treating objects with the builtin ArrayValues iterator
      > method as array-like, where the iterator would iterate through to the
      > full length of the object.
      >
      > This optimization was not sound, because it does not ensure that the
      > next method hasn't been modified. Even if it hasn't been modified,
      > it's entirely possible to be modified during iteration. Thus, this
      > optimization has been removed due to its observability.
      >
      > BUG=v8:5699
      > R=littledan@chromium.org, cbruni@chromium.org
      >
      > Committed: https://crrev.com/77df8c67d9609ada3b7d79e8e6d33f198bbad5a1
      > Cr-Commit-Position: refs/heads/master@{#41394}
      
      TBR=cbruni@chromium.org,littledan@chromium.org,caitp@igalia.com
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      BUG=v8:5699
      
      Review-Url: https://codereview.chromium.org/2548583003
      Cr-Commit-Position: refs/heads/master@{#41461}
      0ea4a542
  8. 30 Nov, 2016 1 commit
    • caitp's avatar
      [typedarrays] remove invalid optimization in NAMEConstructor() · 77df8c67
      caitp authored
      Before, we were treating objects with the builtin ArrayValues iterator
      method as array-like, where the iterator would iterate through to the
      full length of the object.
      
      This optimization was not sound, because it does not ensure that the
      next method hasn't been modified. Even if it hasn't been modified,
      it's entirely possible to be modified during iteration. Thus, this
      optimization has been removed due to its observability.
      
      BUG=v8:5699
      R=littledan@chromium.org, cbruni@chromium.org
      
      Review-Url: https://codereview.chromium.org/2544503002
      Cr-Commit-Position: refs/heads/master@{#41394}
      77df8c67
  9. 29 Nov, 2016 3 commits
  10. 28 Nov, 2016 1 commit
  11. 22 Nov, 2016 2 commits
  12. 21 Nov, 2016 1 commit
    • jgruber's avatar
      [debug-wrapper] Adapt tests, breakpoint.actual_location · 1834ab72
      jgruber authored
      Adapted various tests to restrictions of inspector protocol:
      
      * osr-typing-debug-change: Don't set function variable value.
      * debug-evaluate-locals: Add variable introduced by eval, run typeof
        inside evaluate().
      * regress-419663: Don't set duplicate breakpoints.
      * regress-crbug-465298: Compare against function name instead of value.
      * regress-crbug-621361: Make evaluate return string results.
      * debug-script: Various counts were off due to new way tests are called.
                      Added new inspector script type.
      
      Breakpoints now contain the actual break position, and remote object
      reconstruction has been extended a bit.
      
      BUG=v8:5530
      
      Review-Url: https://codereview.chromium.org/2505363002
      Cr-Commit-Position: refs/heads/master@{#41129}
      1834ab72
  13. 18 Nov, 2016 2 commits
  14. 17 Nov, 2016 2 commits
  15. 16 Nov, 2016 2 commits
    • bmeurer's avatar
      [turbofan] Don't check for neutered array buffers eagerly. · 36e3af32
      bmeurer authored
      We don't need to check for neutered array buffers unless at least one
      JSArrayBuffer has been neutered (i.e. detached in TC39 speak). For this
      we introduce a protector cell that get's invalidated on first call to
      the JSArrayBuffer::Neuter() method.
      
      R=jarin@chromium.org,ulan@chromium.org
      BUG=v8:5267
      
      Review-Url: https://codereview.chromium.org/2504163002
      Cr-Commit-Position: refs/heads/master@{#41021}
      36e3af32
    • jgruber's avatar
      [debug-wrapper] Further extend the debug wrapper · b06c4ce5
      jgruber authored
      This CL further extends the debug wrapper, migrates around 60 tests, and
      removes a few tests that use functionality we will not support anymore.
      
      In more detail:
      
      * Removed tests that use:
        * enable/disable individual breakpoints
        * invocationText()
        * the ScriptCollected event
        * showBreakPoints
        * evalFromScript (and similar)
        * mirror.constructedBy and mirror.referencedBy
        * event_data.promise()
      * Some frame.evaluate uses were adapted since due to differences between
        remote objects (inspector) and mirrors. For instance, exceptions are
        currently not recreated exactly, since the inspector protocol does not
        give us the stack and message separately. Other objects (such as
        'this' in debug-evaluate-receiver-before-super) need to be explicitly
        converted to a string before the test works correctly.
      * Ensure that inspector stores the script before sending ScriptParsed and
        ScriptFailedToParse events in order to be able to use the script from
        within those events.
      * Better remote object reconstruction (e.g. for undefined and arrays).
      * New functionality in wrapper:
        * debuggerFlags().breakPointsActive.setValue()
        * scripts()
        * execState.setVariableValue()
        * execState.scopeObject().value()
        * execState.scopeObject().property()
        * execState.frame().allScopes()
        * eventData.exception()
        * eventData.script()
        * setBreakPointsActive()
      
      BUG=v8:5530
      
      Review-Url: https://codereview.chromium.org/2497973002
      Cr-Commit-Position: refs/heads/master@{#41019}
      b06c4ce5
  16. 15 Nov, 2016 1 commit
    • petermarshall's avatar
      Fastpath some spread-call desugaring. · a63eeb48
      petermarshall authored
      Avoid using the iterator for arrays with fast elements where the iterator has
      not been modified.
      
      Only deals with the case where there is a single spread argument.
      
      Improves the six-speed "spread" benchmark to 1.5x slower than baseline es5 implementation, compared to 19x slower previously.
      
      BUG=v8:5511
      
      Review-Url: https://codereview.chromium.org/2465253011
      Cr-Commit-Position: refs/heads/master@{#40998}
      a63eeb48
  17. 14 Nov, 2016 2 commits
  18. 08 Nov, 2016 3 commits
  19. 07 Nov, 2016 3 commits
  20. 04 Nov, 2016 3 commits
  21. 26 Oct, 2016 1 commit
    • neis's avatar
      [runtime] Let native setters have a return value. · f33a4078
      neis authored
      Native setters (see AccessorInfo in accessors.h) didn't have the ability
      to return a result value. As a consequence of this, for instance, Reflect.set
      on the length property of arrays had the wrong behavior:
      
      var y = [];
      Object.defineProperty(y, 0, {value: 42, configurable: false})
      Reflect.set(y, 'length', 0)
      
      The Reflect.set call used to return true. Now it returns false as
      required by the spec.
      
      BUG=v8:5401
      
      Review-Url: https://codereview.chromium.org/2397603003
      Cr-Commit-Position: refs/heads/master@{#40579}
      f33a4078
  22. 25 Oct, 2016 2 commits
    • cbruni's avatar
      [runtime] Object.create(null) creates a slow object · 532c16ec
      cbruni authored
      Object.create(null) is most likely to be used for dictionary-like objects.
      Hence it would be beneficial to directly create a slow-mode object and avoid
      additional overhead later-on.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2430273007
      Cr-Commit-Position: refs/heads/master@{#40551}
      532c16ec
    • jgruber's avatar
      [regexp] Remove unused code · 77ddcfb3
      jgruber authored
      This CL removes code that is now unused since the port of regexp.js has been
      completed. Removed functions / classes are:
      
      * regexp.js (GetSubstitution moved to string.js)
      * RegExpConstructResult stub
      * RegExpFlags intrinsic
      * RegExpSource intrinsic
      * RegExpInitializeAndCompile runtime function
      
      BUG=v8:5339
      
      Review-Url: https://codereview.chromium.org/2448463002
      Cr-Commit-Position: refs/heads/master@{#40547}
      77ddcfb3
  23. 24 Oct, 2016 1 commit
    • verwaest's avatar
      Simplify and fix the rewriter · caba112d
      verwaest authored
      Now we
      - always set .result to undefined before a visited loop and switch since we can't know whether they will set a value,
      - only visit finally if it can break/continue; and only store/restore .result in that case
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2427253003
      Cr-Commit-Position: refs/heads/master@{#40542}
      caba112d