• zhengxing.li's avatar
    X87: [turbofan] Further fixing ES6 tail call elimination in Turbofan. · 26abfc50
    zhengxing.li authored
      port 2aae579c (r34566)
    
      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.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1777563002
    
    Cr-Commit-Position: refs/heads/master@{#34593}
    26abfc50
macro-assembler-x87.cc 101 KB