Commit 7c498d97 authored by epertoso's avatar epertoso Committed by Commit bot

[builtins] Fix Generate_AtomicsStore.

An AtomicStore was used as an input to SmiTag.

R=jgruber@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2360993002
Cr-Commit-Position: refs/heads/master@{#39618}
parent 76cfb388
......@@ -249,8 +249,8 @@ void Builtins::Generate_AtomicsStore(CodeStubAssembler* a) {
a->Return(value_integer);
a->Bind(&u16);
a->SmiTag(a->AtomicStore(MachineRepresentation::kWord16, backing_store,
a->WordShl(index_word, 1), value_word32));
a->AtomicStore(MachineRepresentation::kWord16, backing_store,
a->WordShl(index_word, 1), value_word32);
a->Return(value_integer);
a->Bind(&u32);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment