• bmeurer's avatar
    [turbofan] Unify frame state inputs. · 4940c0bd
    bmeurer authored
    Now all nodes that care about deoptimization always take frame state
    inputs no matter whether deoptimization is enabled for a particular
    function. In case that deoptimization is off, the AstGraphBuilder just
    inserts the empty frame state. This greatly simplifies the logic in
    various places and makes testing easier as well, and is probably the
    first step towards enabling --turbo-deoptimization by default.
    
    There seems to be no noticable performance impact on asm.js programs.
    
    Also fix the graph replay in order to regenerate the scheduler unittests.
    
    Review URL: https://codereview.chromium.org/1106613003
    
    Cr-Commit-Position: refs/heads/master@{#28026}
    4940c0bd
control-flow-optimizer-unittest.cc 5.27 KB