Fix pattern detection for replacing shifts by rotation.
authorulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 22 Jan 2013 13:55:22 +0000 (13:55 +0000)
committerulan@chromium.org <ulan@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 22 Jan 2013 13:55:22 +0000 (13:55 +0000)
commit79a0e3b017510483166feff4eaec4d1fe7e758af
tree4b5f72dbeb22581100a911abc78cb624416517b6
parentf8d5260af7009ca2f9595fc0442d266b1a935f18
Fix pattern detection for replacing shifts by rotation.

BUG=2499
R=svenpanne@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12047015
Patch from Hirofumi Mako <mkhrfm@gmail.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13464 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen.cc
test/mjsunit/regress/regress-2499.js [new file with mode: 0644]