[x64] Rearrange code for OOB integer loads.
authorbmeurer <bmeurer@chromium.org>
Fri, 2 Jan 2015 10:15:23 +0000 (02:15 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 2 Jan 2015 10:15:40 +0000 (10:15 +0000)
commitcf866b7c612c25bace7d0f0ceb12456e5ad24d7f
tree8b6857227fcb52da58080beccc32bf907f86d8d2
parenta64ac4575a235fa7efc44b4f56a34c20e5634d9c
[x64] Rearrange code for OOB integer loads.

We cannot just clear the result register optimistically, because the
register allocator might assign the same register to result and buffer.

TEST=mjsunit/compiler/regress-445858
BUG=chromium:445858
LOG=y
R=jarin@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25950}
src/compiler/x64/code-generator-x64.cc
test/mjsunit/compiler/regress-445858.js [new file with mode: 0644]