1. 12 Jan, 2016 1 commit
    • bmeurer's avatar
      [builtins] Refactor the remaining Date builtins. · 1e51af1a
      bmeurer authored
      This migrates the remaining Date builtins to C++ and removes obsolete
      intrinsics and JavaScript wrappers. This reduces the overhead imposed
      by the Date builtins, and will allow us to optimize them later in the
      TurboFan compiler, while the interpreter doesn't need to worry about
      them.
      
      R=yangguo@chromium.org
      BUG=chromium:576574
      LOG=n
      
      Review URL: https://codereview.chromium.org/1579613002
      
      Cr-Commit-Position: refs/heads/master@{#33228}
      1e51af1a
  2. 07 Jan, 2016 1 commit
  3. 05 Jan, 2016 1 commit
  4. 04 Jan, 2016 1 commit
  5. 30 Dec, 2015 1 commit
  6. 28 Dec, 2015 1 commit
    • zhengxing.li's avatar
      X87: [runtime] Introduce dedicated JSBoundFunction to represent bound functions. · 37d1dd82
      zhengxing.li authored
        port 97def807 (r33044)
      
        original commit message:
        According to the ES2015 specification, bound functions are exotic
        objects, and thus don't need to be implemented as JSFunctions. So
        we introduce a new JSBoundFunction type to represent bound functions
        and make them optimizable. This already improves the performance of
        calling or constructing bound functions by 10-100x depending on the
        use case because we avoid the crazy dance between JavaScript and C++
        that was implemented in v8natives.js previously.
      
        There's still room for improvement in the performance of actually
        creating bound functions, which is also relevant in practice, but
        we already have a plan how to accomplish that later.
      
        The mips/mips64 ports were contributed by akos.palfi@imgtec.com.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1548253002
      
      Cr-Commit-Position: refs/heads/master@{#33046}
      37d1dd82
  7. 24 Dec, 2015 1 commit
    • zhengxing.li's avatar
      X87: Partial revert of rest parameter desugaring. · d9cfa729
      zhengxing.li authored
        port d3f074b2 (r33024)
      
        original commit message:
        We'll be able to optimize rest parameters in TurboFan similarly to the arguments array. This CL restores the previous behavior, and a follow-on will enable TurboFan optimization.
      
        (TBR for rossberg since we discussed the revert beforehand. The only changes are a few lines related to tests and rebasing.)
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1545053002
      
      Cr-Commit-Position: refs/heads/master@{#33034}
      d9cfa729
  8. 17 Dec, 2015 1 commit
  9. 16 Dec, 2015 1 commit
  10. 15 Dec, 2015 1 commit
  11. 14 Dec, 2015 1 commit
  12. 11 Dec, 2015 3 commits
  13. 07 Dec, 2015 2 commits
  14. 04 Dec, 2015 1 commit
  15. 03 Dec, 2015 2 commits
  16. 02 Dec, 2015 2 commits
  17. 01 Dec, 2015 2 commits
  18. 30 Nov, 2015 4 commits
  19. 27 Nov, 2015 3 commits
  20. 26 Nov, 2015 1 commit
  21. 25 Nov, 2015 4 commits
  22. 24 Nov, 2015 1 commit
    • zhengxing.li's avatar
      X87: [builtins] Sanitize the machinery around Construct calls. · 4620a235
      zhengxing.li authored
        port 374b6ea2 (r32172)
      
        original commit message:
        There's no point in collecting feedback for super constructor calls,
        because in all (interesting) cases we can gather (better) feedback from
        other sources (i.e. via inlining or via using a LOAD_IC to get to the
        [[Prototype]] of the target).  So CallConstructStub is now only used
        for new Foo(...args) sites where we want to collect feedback in the
        baseline compiler.  The optimizing compilers, Reflect.construct and
        super constructor calls use the Construct builtin directly, which allows
        us to remove some weird code from the CallConstructStub (and opens the
        possibility for more code sharing with the CallICStub, maybe even going
        for a ConstructICStub).
      
        Also remove the 100% redundant HCallNew instruction, which is just a
        wrapper for the Construct builtin anyway (indirectly via the
        CallConstructStub).
      
        Drive-by-fix: Drop unused has_function_cache bit on Code objects.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1471193002
      
      Cr-Commit-Position: refs/heads/master@{#32197}
      4620a235
  23. 18 Nov, 2015 3 commits
  24. 16 Nov, 2015 1 commit