Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index d228f2956a6c99625693663a4a2bc64ee15ec2a8..fd3ea458647b6b5be8cbd60b328fa347cd3c568a 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -4204,11 +4204,8 @@ void RecordWriteStub::GenerateIncremental(MacroAssembler* masm, Mode mode) { |
regs_.scratch0(), |
&dont_need_remembered_set); |
- __ CheckPageFlag(regs_.object(), |
- regs_.scratch0(), |
- 1 << MemoryChunk::SCAN_ON_SCAVENGE, |
- ne, |
- &dont_need_remembered_set); |
+ __ JumpIfInNewSpace(regs_.object(), regs_.scratch0(), |
+ &dont_need_remembered_set); |
// First notify the incremental marker if necessary, then update the |
// remembered set. |