Do not reduce effect phis for loops.
authorjarin <jarin@chromium.org>
Sat, 3 Jan 2015 12:45:46 +0000 (04:45 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 3 Jan 2015 12:46:00 +0000 (12:46 +0000)
commitbdf446f59007e1a19ffea21d550db4b186790e98
treee80ae7c30e4ed86d5ff325e286a0df103ba0b159
parent26fce420dadfb8cd74289f31bfaeb36806f2386e
Do not reduce effect phis for loops.

This prevents eliminating effectful statements before the loop.

BUG=

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

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