| 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 #if V8_TARGET_ARCH_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 6 | 6 |
| 7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/bootstrapper.h" | 8 #include "src/bootstrapper.h" |
| 9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 4014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4025 MemoryChunk::kSkipEvacuationSlotsRecordingMask, | 4025 MemoryChunk::kSkipEvacuationSlotsRecordingMask, |
| 4026 eq, | 4026 eq, |
| 4027 &need_incremental); | 4027 &need_incremental); |
| 4028 | 4028 |
| 4029 __ bind(&ensure_not_white); | 4029 __ bind(&ensure_not_white); |
| 4030 } | 4030 } |
| 4031 | 4031 |
| 4032 // We need extra registers for this, so we push the object and the address | 4032 // We need extra registers for this, so we push the object and the address |
| 4033 // register temporarily. | 4033 // register temporarily. |
| 4034 __ Push(regs_.object(), regs_.address()); | 4034 __ Push(regs_.object(), regs_.address()); |
| 4035 __ EnsureNotWhite(regs_.scratch0(), // The value. | 4035 __ JumpIfWhite(regs_.scratch0(), // The value. |
| 4036 regs_.scratch1(), // Scratch. | 4036 regs_.scratch1(), // Scratch. |
| 4037 regs_.object(), // Scratch. | 4037 regs_.object(), // Scratch. |
| 4038 regs_.address(), // Scratch. | 4038 regs_.address(), // Scratch. |
| 4039 &need_incremental_pop_scratch); | 4039 &need_incremental_pop_scratch); |
| 4040 __ Pop(regs_.object(), regs_.address()); | 4040 __ Pop(regs_.object(), regs_.address()); |
| 4041 | 4041 |
| 4042 regs_.Restore(masm); | 4042 regs_.Restore(masm); |
| 4043 if (on_no_need == kUpdateRememberedSetOnNoNeedToInformIncrementalMarker) { | 4043 if (on_no_need == kUpdateRememberedSetOnNoNeedToInformIncrementalMarker) { |
| 4044 __ RememberedSetHelper(object(), address(), value(), save_fp_regs_mode(), | 4044 __ RememberedSetHelper(object(), address(), value(), save_fp_regs_mode(), |
| 4045 MacroAssembler::kReturnAtEnd); | 4045 MacroAssembler::kReturnAtEnd); |
| 4046 } else { | 4046 } else { |
| 4047 __ Ret(); | 4047 __ Ret(); |
| 4048 } | 4048 } |
| 4049 | 4049 |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5375 MemOperand(fp, 6 * kPointerSize), NULL); | 5375 MemOperand(fp, 6 * kPointerSize), NULL); |
| 5376 } | 5376 } |
| 5377 | 5377 |
| 5378 | 5378 |
| 5379 #undef __ | 5379 #undef __ |
| 5380 | 5380 |
| 5381 } // namespace internal | 5381 } // namespace internal |
| 5382 } // namespace v8 | 5382 } // namespace v8 |
| 5383 | 5383 |
| 5384 #endif // V8_TARGET_ARCH_ARM | 5384 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |