Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index c30cfd7f4bbbd42e8a934e1f4a2053bb4ee9d5df..bf81bf30c8caea5a1646bc45610aac4f4afac4e6 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -3186,16 +3186,6 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker( |
Label need_incremental; |
Label need_incremental_pop_scratch; |
- __ And(regs_.scratch0(), regs_.object(), Operand(~Page::kPageAlignmentMask)); |
- __ ld(regs_.scratch1(), |
- MemOperand(regs_.scratch0(), |
- MemoryChunk::kWriteBarrierCounterOffset)); |
- __ Dsubu(regs_.scratch1(), regs_.scratch1(), Operand(1)); |
- __ sd(regs_.scratch1(), |
- MemOperand(regs_.scratch0(), |
- MemoryChunk::kWriteBarrierCounterOffset)); |
- __ Branch(&need_incremental, lt, regs_.scratch1(), Operand(zero_reg)); |
- |
// 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); |