[turbofan] Skip write barriers when storing smi.
authorBenedikt Meurer <bmeurer@chromium.org>
Mon, 2 Mar 2015 09:08:46 +0000 (10:08 +0100)
committerBenedikt Meurer <bmeurer@chromium.org>
Mon, 2 Mar 2015 09:09:08 +0000 (09:09 +0000)
commit155278d6f26f97631c3cf42caaf73927d007bf47
tree15399f74d49e64f7bd63842ce5dff9745bfe60e3
parentc791d8411225aa95518c880defd9a5b1ea243afc
[turbofan] Skip write barriers when storing smi.

On 64-bit targets, we can skip the write barrier for Store nodes if the
input is ChangeInt32ToTagged, because the value being stored is
definitely represented as a smi then.

R=jarin@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#26934}
src/compiler/simplified-lowering.cc
src/compiler/simplified-lowering.h
test/cctest/compiler/test-simplified-lowering.cc