| 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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
| 6 | 6 |
| 7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
| 10 #include "src/ic/handler-compiler.h" | 10 #include "src/ic/handler-compiler.h" |
| (...skipping 4202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4213 regs_.Save(masm); | 4213 regs_.Save(masm); |
| 4214 | 4214 |
| 4215 if (remembered_set_action() == EMIT_REMEMBERED_SET) { | 4215 if (remembered_set_action() == EMIT_REMEMBERED_SET) { |
| 4216 Label dont_need_remembered_set; | 4216 Label dont_need_remembered_set; |
| 4217 | 4217 |
| 4218 __ ld(regs_.scratch0(), MemOperand(regs_.address(), 0)); | 4218 __ ld(regs_.scratch0(), MemOperand(regs_.address(), 0)); |
| 4219 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value. | 4219 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value. |
| 4220 regs_.scratch0(), | 4220 regs_.scratch0(), |
| 4221 &dont_need_remembered_set); | 4221 &dont_need_remembered_set); |
| 4222 | 4222 |
| 4223 __ CheckPageFlag(regs_.object(), | 4223 __ JumpIfInNewSpace(regs_.object(), regs_.scratch0(), |
| 4224 regs_.scratch0(), | 4224 &dont_need_remembered_set); |
| 4225 1 << MemoryChunk::SCAN_ON_SCAVENGE, | |
| 4226 ne, | |
| 4227 &dont_need_remembered_set); | |
| 4228 | 4225 |
| 4229 // First notify the incremental marker if necessary, then update the | 4226 // First notify the incremental marker if necessary, then update the |
| 4230 // remembered set. | 4227 // remembered set. |
| 4231 CheckNeedsToInformIncrementalMarker( | 4228 CheckNeedsToInformIncrementalMarker( |
| 4232 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); | 4229 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); |
| 4233 InformIncrementalMarker(masm); | 4230 InformIncrementalMarker(masm); |
| 4234 regs_.Restore(masm); | 4231 regs_.Restore(masm); |
| 4235 __ RememberedSetHelper(object(), | 4232 __ RememberedSetHelper(object(), |
| 4236 address(), | 4233 address(), |
| 4237 value(), | 4234 value(), |
| (...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5651 MemOperand(fp, 6 * kPointerSize), NULL); | 5648 MemOperand(fp, 6 * kPointerSize), NULL); |
| 5652 } | 5649 } |
| 5653 | 5650 |
| 5654 | 5651 |
| 5655 #undef __ | 5652 #undef __ |
| 5656 | 5653 |
| 5657 } // namespace internal | 5654 } // namespace internal |
| 5658 } // namespace v8 | 5655 } // namespace v8 |
| 5659 | 5656 |
| 5660 #endif // V8_TARGET_ARCH_MIPS64 | 5657 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |