Description[turbofan] Introduce JSCallReducer to strength reduce JSCallFunction nodes.
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
Committed: https://crrev.com/55c07a8b2f9c88f4429cd22100d520a5cf24c567
Cr-Commit-Position: refs/heads/master@{#31979}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix win compile. #Patch Set 3 : Comment. #
Messages
Total messages: 9 (2 generated)
|