Run ControlReducer early after graph building, then again later.
authortitzer@chromium.org <titzer@chromium.org>
Wed, 29 Oct 2014 15:27:27 +0000 (15:27 +0000)
committertitzer@chromium.org <titzer@chromium.org>
Wed, 29 Oct 2014 15:27:58 +0000 (15:27 +0000)
commit2a57f036b2bdb0668090c09b9a10238ac843c61f
treec6433b4706dfd96b20be37e3b3e4a1be909801c5
parentf02d4acbf96c34423e1b2bbecb6017a4567c4290
Run ControlReducer early after graph building, then again later.

The justification for doing this is to reduce the size of the graph and
therefore speedup later phases of compilation. The control reducer also
obviates the need to run the PhiReducer, since it subsumes it.

R=mstarzinger@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#24986}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24986 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler/ast-graph-builder.cc
src/compiler/js-graph.h
src/compiler/pipeline.cc
src/compiler/scheduler.cc
test/cctest/compiler/test-scheduler.cc