• mbrandy's avatar
    PPC: [turbofan] Further fixing ES6 tail call elimination in Turbofan. · fcaa643d
    mbrandy authored
    Port 2aae579c
    
    Original commit message:
        In case when F tail calls G we should also remove the potential arguments adaptor frame for F.
    
        This CL introduces two new machine instructions ArchTailCallCodeObjectFromJSFunction and
        ArchTailCallJSFunctionFromJSFunction which (unlike existing ArchTailCallCodeObject and
        ArchTailCallJSFunction) also drop arguments adaptor frame if it exists right before jumping
        to the target function.
    
    R=ishell@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=v8:4698
    LOG=N
    
    Review URL: https://codereview.chromium.org/1773053002
    
    Cr-Commit-Position: refs/heads/master@{#34589}
    fcaa643d
instruction-selector-ppc.cc 57.3 KB