[turbofan] Run DeadCodeElimination together with the advanced reducers.
authorBenedikt Meurer <bmeurer@chromium.org>
Tue, 23 Jun 2015 11:21:51 +0000 (13:21 +0200)
committerBenedikt Meurer <bmeurer@chromium.org>
Tue, 23 Jun 2015 11:22:12 +0000 (11:22 +0000)
commit64d6ab455d5749f7d8c93f99943e0ef67a2266bc
treea1c7daaa726b8af93a7f8629c3841fc3a7746023
parent5c4aae390fa589a3821ca2e7e9d10677b4850bd2
[turbofan] Run DeadCodeElimination together with the advanced reducers.

This will immediately remove dead code from the graph once any of
the advanced reducers inserts it. Also changes the GraphReducer to
use the canonical Dead node for ReplaceWithValue.

R=jarin@chromium.org

Committed: https://crrev.com/88a40c5fb381924b1c0b2403dc582bceb2abe5da
Cr-Commit-Position: refs/heads/master@{#29217}

Review URL: https://codereview.chromium.org/1206533002.

Cr-Commit-Position: refs/heads/master@{#29225}
src/compiler/common-operator-reducer.cc
src/compiler/common-operator-reducer.h
src/compiler/graph-reducer.cc
src/compiler/graph-reducer.h
src/compiler/js-intrinsic-lowering.cc
src/compiler/pipeline.cc
src/compiler/verifier.cc
test/unittests/compiler/graph-reducer-unittest.cc