1. 29 Nov, 2016 2 commits
  2. 18 Nov, 2016 1 commit
    • bmeurer's avatar
      [turbofan] Properly optimize instanceof (even in the presence of @@hasInstance). · 241c024c
      bmeurer authored
      This is the TurboFan counterpart of http://crrev.com/2504263004, but it
      is a bit more involved, since in TurboFan we always inline the appropriate
      call to the @@hasInstance handler, and by that we can optimize a lot more
      patterns of instanceof than Crankshaft, and even yield fast instanceof
      for custom @@hasInstance handlers (which we can now properly inline as
      well).
      
      Also we now properly optimize Function.prototype[@@hasInstance], even if
      the right hand side of an instanceof doesn't have the Function.prototype
      as its direct prototype.
      
      For the baseline case, we still rely on the global protector cell, but
      we can address that in a follow-up as well, and make it more robust in
      general.
      
      TEST=mjsunit/compiler/instanceof
      BUG=v8:5640
      R=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2511223003
      Cr-Commit-Position: refs/heads/master@{#41092}
      241c024c
  3. 17 Nov, 2016 2 commits
  4. 15 Nov, 2016 2 commits
  5. 14 Nov, 2016 1 commit
  6. 10 Nov, 2016 3 commits
    • gsathya's avatar
      [promises] Move CreateResolvingFunctions to c++ · cb6c8e48
      gsathya authored
      - A new runtime function (%create_resolving_functions) is installed to
        call the CreateResolvingFunctions builtin from JS.
      
      - Three new builtins are created - resolve and reject functions and a
        third function that creates a new JSFunctions from these
        resolve/reject builtins.
      
      - The promise reject function is installed on the context temporarily
        as internal_promise_reject. This should go away once we remove
        PromiseSet.
      
      BUG=v8:5343
      
      Review-Url: https://codereview.chromium.org/2459283004
      Cr-Commit-Position: refs/heads/master@{#40903}
      cb6c8e48
    • jgruber's avatar
      Simplify accesses to Script::line_ends · e730d088
      jgruber authored
      line_ends is either undefined (if uninitialized) or a fixed array (after
      Script::InitLineEnds). All accesses from JS have been removed, therefore
      we can skip assigning a COW map and remove the accessor.
      
      Review-Url: https://codereview.chromium.org/2490903002
      Cr-Commit-Position: refs/heads/master@{#40876}
      e730d088
    • gsathya's avatar
      [typedarrays] Remove duplicate initial map creation · 9e07c96f
      gsathya authored
      Previously we created a duplicate map because we couldn't set the
      correct ElementsKind when we created the function. This patch updates
      the ElementsKind field of the existing map directly instead of
      creating a new one.
      
      This patch also correctly sets the instance_size when we create the
      map the first time.
      
      Review-Url: https://codereview.chromium.org/2486193003
      Cr-Commit-Position: refs/heads/master@{#40872}
      9e07c96f
  7. 08 Nov, 2016 1 commit
    • lpy's avatar
      [Tracing] Use TracingCategoryObserver in gc statistics · 7d28301d
      lpy authored
      This patch is a follow-up patch to enable gc statistics to use
      TracingCategoryObserver.
      
      Previously we need to pass --track_gc_object_stats to v8 if we want to enable
      gc statistics in tracing. In this patch, we introducce an integer flag
      FLAG_gc_stats, and FLAG_track_gc_object_stats and FLAG_trace_gc_object_stats
      will set it to 0x01, tracing will set it to 0x10 when we start tracing and
      reset the bit when we stop tracing.
      
      BUG=v8:5590
      
      Review-Url: https://codereview.chromium.org/2459903003
      Cr-Commit-Position: refs/heads/master@{#40817}
      7d28301d
  8. 07 Nov, 2016 1 commit
  9. 05 Nov, 2016 1 commit
  10. 04 Nov, 2016 4 commits
  11. 02 Nov, 2016 1 commit
  12. 01 Nov, 2016 1 commit
  13. 31 Oct, 2016 2 commits
  14. 27 Oct, 2016 2 commits
  15. 26 Oct, 2016 1 commit
  16. 25 Oct, 2016 1 commit
  17. 24 Oct, 2016 2 commits
  18. 21 Oct, 2016 1 commit
  19. 20 Oct, 2016 2 commits
  20. 19 Oct, 2016 1 commit
  21. 18 Oct, 2016 3 commits
  22. 14 Oct, 2016 5 commits