• bmeurer's avatar
    [turbofan] Relax constraints on apply with arguments optimization. · e8c109e2
    bmeurer authored
    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}
    e8c109e2
js-call-reducer.cc 36.1 KB