• Alexandre Talon's avatar
    [Turbofan] Merged the OSR phase into the graph building phase. · 69c8f16d
    Alexandre Talon authored
    Now the OSR phase is only used when OSRing from the ast graph builder.
    When OSRing from Turbofan, the implementation is now in the graph
    building phase, at the beginning of the VisitBytecode function.
    We are no longer generating any OSRLoopEntry or OSRNormalEntry nodes,
    nor nodes for the possible code of the OSRed function which is before
    the OSRed loops.
    
    The trimming and reducing of the OSR phase is not done either. This
    change in the way the way the OSR is done enabled to remove the
    workaround to the bug mentioned below.
    
    Bug: v8:6112
    Bug: v8:6518
    Change-Id: I1c9231810b923486d55ea618d550d981d695d797
    Reviewed-on: https://chromium-review.googlesource.com/543042
    Commit-Queue: Alexandre Talon <alexandret@google.com>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46801}
    69c8f16d
bytecode-graph-builder.h 15.7 KB