[turbofan] Simplify reduction if IfTrue and IfFalse and fix bugs.
authortitzer <titzer@chromium.org>
Mon, 26 Jan 2015 16:11:17 +0000 (08:11 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 26 Jan 2015 16:11:24 +0000 (16:11 +0000)
commit7c81161b97504caedc93b01fa984791e9fb302c3
tree844fb5af6db40f523ffa2bb7ffa806c6cb5433a3
parentecfbe909f3ebe77edcac55f0f80c114560a53dea
[turbofan] Simplify reduction if IfTrue and IfFalse and fix bugs.

R=mstarzinger@chromium.org
BUG=chromium:451958
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#26276}
src/compiler/control-reducer.cc
src/compiler/control-reducer.h
test/cctest/compiler/test-control-reducer.cc
test/mjsunit/regress/regress-451958.js [new file with mode: 0644]