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

Side by Side Diff: src/mips/codegen-mips.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 | « no previous file | src/mips64/codegen-mips64.cc » ('j') | 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_MIPS 7 #if V8_TARGET_ARCH_MIPS
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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 __ RecordWriteField(receiver, 743 __ RecordWriteField(receiver,
744 HeapObject::kMapOffset, 744 HeapObject::kMapOffset,
745 target_map, 745 target_map,
746 scratch2, 746 scratch2,
747 kRAHasBeenSaved, 747 kRAHasBeenSaved,
748 kDontSaveFPRegs, 748 kDontSaveFPRegs,
749 OMIT_REMEMBERED_SET, 749 OMIT_REMEMBERED_SET,
750 OMIT_SMI_CHECK); 750 OMIT_SMI_CHECK);
751 // Replace receiver's backing store with newly created FixedDoubleArray. 751 // Replace receiver's backing store with newly created FixedDoubleArray.
752 __ Addu(scratch1, array, Operand(kHeapObjectTag)); 752 __ Addu(scratch1, array, Operand(kHeapObjectTag));
753 __ sw(scratch1, FieldMemOperand(a2, JSObject::kElementsOffset)); 753 __ sw(scratch1, FieldMemOperand(receiver, JSObject::kElementsOffset));
754 __ RecordWriteField(receiver, 754 __ RecordWriteField(receiver,
755 JSObject::kElementsOffset, 755 JSObject::kElementsOffset,
756 scratch1, 756 scratch1,
757 scratch2, 757 scratch2,
758 kRAHasBeenSaved, 758 kRAHasBeenSaved,
759 kDontSaveFPRegs, 759 kDontSaveFPRegs,
760 EMIT_REMEMBERED_SET, 760 EMIT_REMEMBERED_SET,
761 OMIT_SMI_CHECK); 761 OMIT_SMI_CHECK);
762 762
763 763
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 patcher.masm()->nop(); // Pad the empty space. 1258 patcher.masm()->nop(); // Pad the empty space.
1259 } 1259 }
1260 } 1260 }
1261 1261
1262 1262
1263 #undef __ 1263 #undef __
1264 1264
1265 } } // namespace v8::internal 1265 } } // namespace v8::internal
1266 1266
1267 #endif // V8_TARGET_ARCH_MIPS 1267 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips64/codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698