• Jaroslav Sevcik's avatar
    Revert "[turbofan] Prune control flow based on failed map checks and comparisons." · f3b4841d
    Jaroslav Sevcik authored
    This reverts commit 37b4b2f1.
    
    Reason for revert: Likely breaking canary.
    
    Original change's description:
    > [turbofan] Prune control flow based on failed map checks and comparisons.
    > 
    > This introduces unreachable state into load elimination. We mark state
    > as unreachable if we know statically that a map check would fail.
    > When processing effect phis, we disconnect unreachable state's
    > control from the effect phi's merge, and point it to RuntimeAbort.
    > The control input to the merge is then updated with Dead. Dead
    > code elimination prunes the merge, phis and effect phis.
    > 
    > Bug: v8:6396
    > Change-Id: I01874b576e548747a915c7b645b96ebaa6f6700d
    > Reviewed-on: https://chromium-review.googlesource.com/730754
    > Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
    > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#48810}
    
    TBR=jarin@chromium.org,bmeurer@chromium.org
    
    # Not skipping CQ checks because original CL landed > 1 day ago.
    
    Bug: v8:6396, chromium:777843
    Change-Id: I6fac6f86e138f33756e688ec30424cb940690dae
    Reviewed-on: https://chromium-review.googlesource.com/737829Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48918}
    f3b4841d
load-elimination.cc 48.3 KB