[turbofan] Rework handling of loop exits in loop peeling.
authortitzer <titzer@chromium.org>
Tue, 7 Apr 2015 11:00:40 +0000 (04:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Apr 2015 11:00:47 +0000 (11:00 +0000)
commit0b4dfc231263fbe5016f5c2c9e2d2e2fa1c154a1
tree5eed95313041caadc2d8f80c3c347ae6c5c71a7d
parented5db223a19dfe126af012e894582251aa3635d7
[turbofan] Rework handling of loop exits in loop peeling.

This CL primarily makes the loop peeling algorithm more robust; it no longer damages the graph if the loops are improperly closed.

R=bmeurer@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27620}
src/compiler/loop-analysis.cc
src/compiler/loop-analysis.h
src/compiler/loop-peeling.cc
src/compiler/loop-peeling.h
test/unittests/compiler/loop-peeling-unittest.cc