Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index eef351c77dec9511020972186df867427ca0d0e0..fc8ab826d6609ba7b32ffbaae6e0bf95c20c60ab 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -4157,9 +4157,8 @@ void RecordWriteStub::GenerateIncremental(MacroAssembler* masm, Mode mode) { |
__ JumpIfNotInNewSpace(regs_.scratch0(), // Value. |
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. |