• zhengxing.li's avatar
    X87: [Interpreter] Support compiling for baseline on return from interpreted function. · 45005083
    zhengxing.li authored
      port f241a61a (r36360)
    
      original commit message:
      We cannot tier up from interpreted to baseline code when there is an
      activation of the function on the stack. This significantly regresses
      the performance of recursive functions since they are unlikely to get
      tiered up.
    
      This CL adds the ability for a function to be marked for baseline
      compilation when it returns. To do this we patch the
      InterpreterEntryTrampoline return address to point to
      InterpreterMarkBaselineOnReturn, which leaves the
      interpreted frame and recompile the function for
      baseline.
    
      This improves the score of EarlyBoyer by ~8x for Ignition.
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/1998153002
    Cr-Commit-Position: refs/heads/master@{#36396}
    45005083
builtins-x87.cc 100 KB