MIPS64: Fix after [turbofan] Avoid unnecessary write barriers and improve code generation.

Use 64-bit add for address.

TEST=mjsunit/sparse-array.js, others.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#31937}
This commit is contained in:
paul.lind 2015-11-10 22:38:25 -08:00 committed by Commit bot
parent 1ff9258ba6
commit 6e0aa37c7e

View File

@ -241,7 +241,7 @@ class OutOfLineRecordWrite final : public OutOfLineCode {
// and restore lr properly here if the frame was elided.
RecordWriteStub stub(isolate(), object_, scratch0_, scratch1_,
EMIT_REMEMBERED_SET, save_fp_mode);
__ Addu(scratch1_, object_, index_);
__ Daddu(scratch1_, object_, index_);
__ CallStub(&stub);
}