Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: src/mips64/codegen-mips64.cc

Issue 865153002: MIPS: Fix rare random crashes in keyed store if element transition is needed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add mips64 part. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips/codegen-mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 __ RecordWriteField(receiver, 636 __ RecordWriteField(receiver,
637 HeapObject::kMapOffset, 637 HeapObject::kMapOffset,
638 target_map, 638 target_map,
639 scratch2, 639 scratch2,
640 kRAHasBeenSaved, 640 kRAHasBeenSaved,
641 kDontSaveFPRegs, 641 kDontSaveFPRegs,
642 OMIT_REMEMBERED_SET, 642 OMIT_REMEMBERED_SET,
643 OMIT_SMI_CHECK); 643 OMIT_SMI_CHECK);
644 // Replace receiver's backing store with newly created FixedDoubleArray. 644 // Replace receiver's backing store with newly created FixedDoubleArray.
645 __ Daddu(scratch1, array, Operand(kHeapObjectTag)); 645 __ Daddu(scratch1, array, Operand(kHeapObjectTag));
646 __ sd(scratch1, FieldMemOperand(a2, JSObject::kElementsOffset)); 646 __ sd(scratch1, FieldMemOperand(receiver, JSObject::kElementsOffset));
647 __ RecordWriteField(receiver, 647 __ RecordWriteField(receiver,
648 JSObject::kElementsOffset, 648 JSObject::kElementsOffset,
649 scratch1, 649 scratch1,
650 scratch2, 650 scratch2,
651 kRAHasBeenSaved, 651 kRAHasBeenSaved,
652 kDontSaveFPRegs, 652 kDontSaveFPRegs,
653 EMIT_REMEMBERED_SET, 653 EMIT_REMEMBERED_SET,
654 OMIT_SMI_CHECK); 654 OMIT_SMI_CHECK);
655 655
656 656
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 patcher.masm()->nop(); // Pad the empty space. 1149 patcher.masm()->nop(); // Pad the empty space.
1150 } 1150 }
1151 } 1151 }
1152 1152
1153 1153
1154 #undef __ 1154 #undef __
1155 1155
1156 } } // namespace v8::internal 1156 } } // namespace v8::internal
1157 1157
1158 #endif // V8_TARGET_ARCH_MIPS64 1158 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/codegen-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698