• danno's avatar
    [turbofan] Better handling of inserted split-edge blocks · 6eb242ee
    danno authored
    Previously, split-edge blocks inserted into CodeStubAssembler schedules
    inherited the "deferredness" of their predecessor block. This tended to inline
    newly inserted blocks that preceeded deferred code inline with non-deferred
    code. The stack frame elider sometimes inserted stack construction into these
    blocks, code which was actually was only needed in the deferred case.
    
    This CL marks inserted split edge blocks with the deferredness of their
    successors, e.g. they are defererred if their predecessor is deferrred. This
    moves stack building code that logically belongs to deferred code into the
    deferred code area rather than inlining it in non-deferred code.
    
    Review-Url: https://codereview.chromium.org/2003663002
    Cr-Commit-Position: refs/heads/master@{#36446}
    6eb242ee
schedule.cc 14.4 KB