| OLD | NEW |
| 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 ASSERT(!AreAliased(receiver, key, value, target_map, | 562 ASSERT(!AreAliased(receiver, key, value, target_map, |
| 563 scratch_elements)); | 563 scratch_elements)); |
| 564 | 564 |
| 565 if (mode == TRACK_ALLOCATION_SITE) { | 565 if (mode == TRACK_ALLOCATION_SITE) { |
| 566 __ JumpIfJSArrayHasAllocationMemento( | 566 __ JumpIfJSArrayHasAllocationMemento( |
| 567 receiver, scratch_elements, allocation_memento_found); | 567 receiver, scratch_elements, allocation_memento_found); |
| 568 } | 568 } |
| 569 | 569 |
| 570 // Set transitioned map. | 570 // Set transitioned map. |
| 571 __ sd(target_map, FieldMemOperand(receiver, HeapObject::kMapOffset)); | 571 __ sd(target_map, FieldMemOperand(receiver, HeapObject::kMapOffset)); |
| 572 __ RecordWriteField(a2, | 572 __ RecordWriteField(receiver, |
| 573 HeapObject::kMapOffset, | 573 HeapObject::kMapOffset, |
| 574 target_map, | 574 target_map, |
| 575 t1, | 575 t1, |
| 576 kRAHasNotBeenSaved, | 576 kRAHasNotBeenSaved, |
| 577 kDontSaveFPRegs, | 577 kDontSaveFPRegs, |
| 578 EMIT_REMEMBERED_SET, | 578 EMIT_REMEMBERED_SET, |
| 579 OMIT_SMI_CHECK); | 579 OMIT_SMI_CHECK); |
| 580 } | 580 } |
| 581 | 581 |
| 582 | 582 |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 patcher.masm()->nop(); // Pad the empty space. | 1132 patcher.masm()->nop(); // Pad the empty space. |
| 1133 } | 1133 } |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 | 1136 |
| 1137 #undef __ | 1137 #undef __ |
| 1138 | 1138 |
| 1139 } } // namespace v8::internal | 1139 } } // namespace v8::internal |
| 1140 | 1140 |
| 1141 #endif // V8_TARGET_ARCH_MIPS64 | 1141 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |