• Benedikt Meurer's avatar
    [turbofan] Properly filter dead checks in LoadElimination. · 95fdc090
    Benedikt Meurer authored
    Depending on the visitation order of the graph, we can have a dead
    ArrayBufferWasNeutered check in the state table. This can only happen
    when ArrayBuffers have been neutered in the isolate and there are loops
    involved where the LoadEliminationPhase triggers revisitation in the
    GraphReducer framework. With the most recent fix to the revisit queue
    the original repro case no longer works, since it requires us to visit
    an ArrayBufferWasNeutered node after a dominating one was killed.
    
    Bug: chromium:741022
    Change-Id: I3644bcf0ff7795289cc27d177ab5f6af32238a43
    Reviewed-on: https://chromium-review.googlesource.com/579974Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46806}
    95fdc090
load-elimination.cc 43.6 KB