• danno's avatar
    [turbofan] Better and more sane support for tail calls · ff283f7d
    danno authored
    * Limit triggering of tail calls to explicit use of a new inline runtime
      function %_TailCall. %_TailCall works just like %_Call except for using
      tail-calling mechanics (currently only in TF).
    * Remove hack that recognized some specific usages of %_Call and converted them
      into tail calls.
    * Support tail calls for all calls where the number of callee stack parameters
      is less than or equal to the number of caller stack parameters.
    * Use the gap resolver to swizzle parameters and registers to tail calls.
    
    BUG=v8:4076
    LOG=n
    
    Review URL: https://codereview.chromium.org/1439613003
    
    Cr-Commit-Position: refs/heads/master@{#31987}
    ff283f7d
code-generator-x64.cc 72.3 KB