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 4186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4197 regs_.Save(masm); | 4197 regs_.Save(masm); |
4198 | 4198 |
4199 if (remembered_set_action() == EMIT_REMEMBERED_SET) { | 4199 if (remembered_set_action() == EMIT_REMEMBERED_SET) { |
4200 Label dont_need_remembered_set; | 4200 Label dont_need_remembered_set; |
4201 | 4201 |
4202 __ ld(regs_.scratch0(), MemOperand(regs_.address(), 0)); | 4202 __ ld(regs_.scratch0(), MemOperand(regs_.address(), 0)); |
4203 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value. | 4203 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value. |
4204 regs_.scratch0(), | 4204 regs_.scratch0(), |
4205 &dont_need_remembered_set); | 4205 &dont_need_remembered_set); |
4206 | 4206 |
4207 __ CheckPageFlag(regs_.object(), | 4207 __ JumpIfInNewSpace(regs_.object(), regs_.scratch0(), |
4208 regs_.scratch0(), | 4208 &dont_need_remembered_set); |
4209 1 << MemoryChunk::SCAN_ON_SCAVENGE, | |
4210 ne, | |
4211 &dont_need_remembered_set); | |
4212 | 4209 |
4213 // First notify the incremental marker if necessary, then update the | 4210 // First notify the incremental marker if necessary, then update the |
4214 // remembered set. | 4211 // remembered set. |
4215 CheckNeedsToInformIncrementalMarker( | 4212 CheckNeedsToInformIncrementalMarker( |
4216 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); | 4213 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); |
4217 InformIncrementalMarker(masm); | 4214 InformIncrementalMarker(masm); |
4218 regs_.Restore(masm); | 4215 regs_.Restore(masm); |
4219 __ RememberedSetHelper(object(), | 4216 __ RememberedSetHelper(object(), |
4220 address(), | 4217 address(), |
4221 value(), | 4218 value(), |
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5639 return_value_operand, NULL); | 5636 return_value_operand, NULL); |
5640 } | 5637 } |
5641 | 5638 |
5642 | 5639 |
5643 #undef __ | 5640 #undef __ |
5644 | 5641 |
5645 } // namespace internal | 5642 } // namespace internal |
5646 } // namespace v8 | 5643 } // namespace v8 |
5647 | 5644 |
5648 #endif // V8_TARGET_ARCH_MIPS64 | 5645 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |