Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 82318685dfd156b54fdcb497d4174cddfc9663c6..327014cb780ecd2f179f8e9002d1e3c3d5afab45 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -3373,19 +3373,6 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker( |
Label need_incremental; |
Label need_incremental_pop_scratch; |
- DCHECK((~Page::kPageAlignmentMask & 0xffff) == 0); |
- __ lis(r0, Operand((~Page::kPageAlignmentMask >> 16))); |
- __ and_(regs_.scratch0(), regs_.object(), r0); |
- __ LoadP( |
- regs_.scratch1(), |
- MemOperand(regs_.scratch0(), MemoryChunk::kWriteBarrierCounterOffset)); |
- __ subi(regs_.scratch1(), regs_.scratch1(), Operand(1)); |
- __ StoreP( |
- regs_.scratch1(), |
- MemOperand(regs_.scratch0(), MemoryChunk::kWriteBarrierCounterOffset)); |
- __ cmpi(regs_.scratch1(), Operand::Zero()); // PPC, we could do better here |
- __ blt(&need_incremental); |
- |
// Let's look at the color of the object: If it is not black we don't have |
// to inform the incremental marker. |
__ JumpIfBlack(regs_.object(), regs_.scratch0(), regs_.scratch1(), &on_black); |