Description[turbofan] Relax constraints on apply with arguments optimization.
For sloppy arguments in functions with declared formal parameters, the
apply with arguments optimization in TurboFan wouldn't kick in
currently, because so far there was no guard to see if using the
arguments from the stack or the frame state is safe. One easy to check
guard here is to just check that there's no observable side-effect
between the actual arguments creation and the call to apply.
BUG=v8:5267, v8:6200
R=danno@chromium.org
Review-Url: https://codereview.chromium.org/2789113004
Cr-Commit-Position: refs/heads/master@{#44363}
Committed: https://chromium.googlesource.com/v8/v8/+/e8c109e2788b59e2b96243131fc17554ca53de32
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (6 generated)
|