[x86] Support immediate indices for StoreWriteBarrier.
authorbmeurer <bmeurer@chromium.org>
Fri, 10 Apr 2015 06:16:23 +0000 (23:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Apr 2015 06:16:28 +0000 (06:16 +0000)
commit4eff883bcecaf24dfdcc6441e4558a9f5e69bd55
treee5cd7d1fb01fb8987d1578a61a39e88858d7e533
parent4baa0aaf5b0dcce80d34f3933d1d31cc54dd07af
[x86] Support immediate indices for StoreWriteBarrier.

Ideally we would not need the StoreWriteBarrier instructions at all,
but represent the RecordWrite functionality as machine subgraph, but
that'll take some time to get there. In the mean time we can have a
shorter instruction sequence on Intel platforms by recognizing immediate
indices here.

R=svenpanne@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#27731}
src/compiler/ia32/code-generator-ia32.cc
src/compiler/ia32/instruction-selector-ia32.cc
src/compiler/x64/code-generator-x64.cc
src/compiler/x64/instruction-selector-x64.cc