[turbofan] Fix bug in OSR deconstruction.
authortitzer <titzer@chromium.org>
Tue, 17 Mar 2015 17:55:21 +0000 (10:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 17 Mar 2015 17:55:29 +0000 (17:55 +0000)
commit434d1ad0146d63120b26938983fa6b1606c3e7a7
tree32f6d87fd1aefcbaf9b573033e90aabd7d578e96
parentd5986f7f00efc60ee54d1f237781f944c942a45a
[turbofan] Fix bug in OSR deconstruction.

In constructing the transfer between loop copies, we need to merge the backedges from all the previous copies of the given loop. The control reduction will work out which ones are really reachable.

R=mstarzinger@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27246}
src/compiler/opcodes.h
src/compiler/osr.cc
src/runtime/runtime-test.cc
src/runtime/runtime.h
test/cctest/compiler/test-osr.cc
test/mjsunit/compiler/osr-infinite.js [new file with mode: 0644]
test/mjsunit/compiler/osr-labeled.js [new file with mode: 0644]