[turbofan] Fix matching of the lea instruction.
authorjarin <jarin@chromium.org>
Mon, 24 Nov 2014 17:45:20 +0000 (09:45 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 24 Nov 2014 17:45:33 +0000 (17:45 +0000)
commitd9cabb9b22606c57c221322a77d873f3a4f3da6f
tree7880838ec4919636d1d4abf63b3a753e0ccc30bc
parent100db75808486b9a85b5ba6384f27b3274438684
[turbofan] Fix matching of the lea instruction.

Resets the scaled exponent to 0 when the scaling match fails.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#25491}
src/compiler/node-matchers.h
test/mjsunit/regress/regress-lea-matching.js [new file with mode: 0644]
test/unittests/compiler/x64/instruction-selector-x64-unittest.cc