• zhengxing.li's avatar
    X87: [turbofan] Better and more sane support for tail calls · 1dcf534c
    zhengxing.li authored
        port ff283f7d (r31987)
    
        original commit message:
        * 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=
    
    Review URL: https://codereview.chromium.org/1445023002
    
    Cr-Commit-Position: refs/heads/master@{#32001}
    1dcf534c
code-generator-x87.cc 64.6 KB