1. 10 Aug, 2017 1 commit
  2. 04 Aug, 2017 1 commit
  3. 13 Jul, 2017 1 commit
  4. 10 Jul, 2017 1 commit
    • Benedikt Meurer's avatar
      [turbofan] Widen the fast-path for JSCreateArray. · 1edb46cc
      Benedikt Meurer authored
      This improves the general Array constructor call performance (w/o
      usable AllocationSite feedback) in TurboFan by ~2x, i.e. for example
      invoking the Array constructor like this
      
        var a = Array.call(undefined, n);
      
      instead of
      
        var a = Array(n);
      
      such that the CallIC doesn't know that it's eventually calling the
      Array constructor.
      
      It also thus changes the single argument Array constructor to always
      return holey arrays. Previously the single argument case for the Array
      constructor was somehow trying to dynamically detect 0 and in that case
      returned a packed array instead of a holey one. That adds quite a lot
      of churn, and doesn't seem to be very useful, especially since this
      might lead to unnecessary feedback pollution later.
      
      R=mvstanton@chromium.org
      
      Bug: v8:2229, v8:5269, v8:6399
      Change-Id: I3d7cb9bd975ec0e491e3cdbcf1230185cfd1e3de
      Reviewed-on: https://chromium-review.googlesource.com/565721Reviewed-by: 's avatarMichael Stanton <mvstanton@chromium.org>
      Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46538}
      1edb46cc
  5. 03 Jul, 2017 1 commit
    • Mathias Bynens's avatar
      [elements] Rename Has*Elements and Is*ElementsKind methods · 7915cf93
      Mathias Bynens authored
      Commit 26c00f4a improved the names of
      most FAST_* elements kinds in the enum. This patch updates the matching
      Has*Elements and Is*ElementsKind method names accordingly.
      
      - HasFastSmiElements => HasSmiElements
      - IsFastSmiElementsKind => IsSmiElementsKind
      - HasFastObjectElements => HasObjectElements
      - IsFastObjectElementsKind => IsObjectElementsKind
      - HasFastSmiOrObjectElements => HasSmiOrObjectElements
      - IsFastSmiOrObjectElementsKind => IsSmiOrObjectElementsKind
      - HasFastDoubleElements => HasDoubleElements
      - IsFastDoubleElementsKind => IsDoubleElementsKind
      - HasFastHoleyElements => HasHoleyElements
      - IsFastHoleyElementsKind => IsHoleyElementsKind
      
      Additionally, FastHoleyElementsUsage is renamed to HoleyElementsUsage.
      
      BUG=v8:6548
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Ie8f3d01eb43e909cbc6c372d88c5fbc4dfc2ac04
      Reviewed-on: https://chromium-review.googlesource.com/558356Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Commit-Queue: Mathias Bynens <mathias@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46376}
      7915cf93
  6. 28 Apr, 2017 1 commit
  7. 26 Jan, 2017 1 commit
  8. 06 Jul, 2016 1 commit
  9. 15 Apr, 2015 1 commit
    • mvstanton's avatar
      Array() in optimized code can create with wrong ElementsKind in corner cases. · 13459c1a
      mvstanton authored
      Calling new Array(JSObject::kInitialMaxFastElementArray) in optimized code
      makes a stub call that bails out due to the length. Currently, the bailout
      code a) doesn't have the allocation site, and b) wouldn't use it if it did
      because the length is perceived to be too high.
      
      This CL passes the allocation site to the stub call (rather than undefined),
      and alters the bailout code to utilize the feedback.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1086873003
      
      Cr-Commit-Position: refs/heads/master@{#27857}
      13459c1a
  10. 14 Apr, 2015 1 commit
  11. 28 Jul, 2014 1 commit
  12. 24 Jul, 2014 2 commits
  13. 18 Jul, 2014 1 commit
  14. 26 May, 2014 2 commits
  15. 22 May, 2014 1 commit
  16. 21 Jan, 2014 1 commit
  17. 17 Jan, 2014 1 commit
  18. 07 Jan, 2014 1 commit
  19. 20 Dec, 2013 2 commits
  20. 22 Jul, 2013 1 commit
  21. 17 Jul, 2013 1 commit
  22. 01 Jul, 2013 1 commit
  23. 25 Jun, 2013 1 commit
  24. 19 Jun, 2013 1 commit
  25. 13 Jun, 2013 1 commit
  26. 12 Jun, 2013 1 commit
  27. 08 Apr, 2013 1 commit
  28. 12 Mar, 2013 1 commit
  29. 05 Mar, 2013 1 commit
  30. 27 Feb, 2013 1 commit
  31. 04 Feb, 2013 1 commit
  32. 28 Jan, 2013 1 commit
  33. 23 Jan, 2013 1 commit
  34. 23 Oct, 2008 1 commit
  35. 26 Sep, 2008 1 commit
  36. 09 Sep, 2008 1 commit
  37. 22 Aug, 2008 1 commit
    • christian.plesner.hansen's avatar
      Included mjsunit JavaScript test suite and C++ unit tests. · c42f5829
      christian.plesner.hansen authored
      In the shell sample don't print the result of executing a script, only
      evaluating expressions.
      
      Fixed issue when building samples on Windows using a shared V8
      library.  Added visibility option on Linux build which makes the
      generated library 18% smaller.
      
      Changed build system to accept multiple build modes in one build and
      generate seperate objects, libraries and executables for each mode.
      
      Removed deferred negation optimization (a * -b => -(a * b)) since this
      visibly changes operand conversion order.
      
      Improved parsing performance by introducing stack guard in preparsing.
      Without a stack guard preparsing always bails out with stack overflow.
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      c42f5829