1. 13 Nov, 2015 1 commit
    • bmeurer's avatar
      [turbofan] Introduce JSCallReducer to strength reduce JSCallFunction nodes. · 55c07a8b
      bmeurer authored
      The JSCallReducer runs together with inlining and tries to strength
      reduce JSCallFunction nodes; currently it can fold
      Function.prototype.call and Function.prototype.apply (with arguments),
      and make it possible to inline across them.
      
      In the case of Function.prototype.apply with arguments we still have to
      leave the JSCreateArguments node in the graph because there might be
      other (frame state) uses. Once escape analysis is ready, it will take
      care of removing these nodes and adding appropriate transitions for the
      deoptimizer.
      
      R=jarin@chromium.org
      BUG=v8:4551
      LOG=n
      
      Review URL: https://codereview.chromium.org/1445513002
      
      Cr-Commit-Position: refs/heads/master@{#31979}
      55c07a8b
  2. 11 Nov, 2015 1 commit
    • bmeurer's avatar
      [turbofan] Add support to lower Function.prototype.call. · f5e6dcb6
      bmeurer authored
      Support lowering of Function.prototype.call in the JSBuiltinReducer,
      which is actually straightforward because of the way we represent JS
      calls in TurboFan.  Currently we cannot inline the actual target yet,
      since inlining still runs before typed lowering, but that will be
      possible as well soon(ish).
      
      R=jarin@chromium.org
      
      Review URL: https://codereview.chromium.org/1439533002
      
      Cr-Commit-Position: refs/heads/master@{#31938}
      f5e6dcb6
  3. 19 Oct, 2015 1 commit
  4. 05 Jun, 2015 1 commit
  5. 20 Apr, 2015 1 commit
  6. 13 Mar, 2015 1 commit
  7. 10 Mar, 2015 2 commits
    • bmeurer's avatar
      [turbofan] Use builtin inlining mechanism for Math.floor. · 1982186b
      bmeurer authored
      BUG=v8:3952
      LOG=n
      R=yangguo@chromium.org
      
      Review URL: https://codereview.chromium.org/997513002
      
      Cr-Commit-Position: refs/heads/master@{#27098}
      1982186b
    • bmeurer's avatar
      [turbofan] Unify Math.floor / Math.ceil optimization. · 022ea7e0
      bmeurer authored
      Provide an intrinsic %MathFloor / %_MathFloor that is used to optimize
      both Math.ceil and Math.floor, and use the JS inlining mechanism to
      inline Math.ceil into TurboFan code. Although we need to touch code
      outside of TurboFan to make this work, this does not affect the way we
      handle Math.ceil and/or Math.floor in CrankShaft, because for CrankShaft
      the old-style builtin function id based inlining still kicks in first.
      
      Once this solution is stabilized, we can use it for Math.floor as well.
      And once that is settled, we can establish it as the unified way to
      inline builtins, and get rid of the specialized builtin function id
      based inlining at some point.
      
      Note that "builtin" applies to basically every piece of internal
      JavaScript/intrinsics based code, so this also applies to the yet to be
      defined JavaScript based code stubs and handlers.
      
      BUG=v8:3953
      LOG=n
      R=yangguo@chromium.org,svenpanne@chromium.org
      
      Review URL: https://codereview.chromium.org/990963003
      
      Cr-Commit-Position: refs/heads/master@{#27086}
      022ea7e0
  8. 12 Dec, 2014 1 commit
  9. 30 Oct, 2014 1 commit
  10. 26 Sep, 2014 1 commit
  11. 24 Sep, 2014 2 commits
  12. 23 Sep, 2014 1 commit
  13. 19 Sep, 2014 1 commit