• mstarzinger's avatar
    [turbofan] Make FrameStateBeforeAndAfter explicit. · c44dca79
    mstarzinger authored
    This makes the creation of frame states "before" and "after" node
    sequences explicit in the {BytecodeGraphBuilder}. This removes some
    complexity and also allows us to ellide redundant {Checkpoint} nodes
    before operations that don't actually eager deoptimize.
    
    In this change such redundant {Checkpoint} nodes have been removed for
    arguments object and rest array creation bytecodes. The frame states
    used in such {Checkpoint} nodes were actually bogus because they would
    resume bytecode execution before the {new.target} value is assigned to
    its respective variable.
    
    R=jarin@chromium.org
    
    Review-Url: https://chromiumcodereview.appspot.com/2437683003
    Cr-Commit-Position: refs/heads/master@{#40453}
    c44dca79
bytecode-graph-builder.h 12.2 KB