Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index ebccca2e6367d8885d4e2916d9f0ed5cb70e78ea..c42728a1dd86ab31228866dd7957aadcdadf15c9 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -3183,16 +3183,6 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker( |
Label need_incremental; |
Label need_incremental_pop_scratch; |
- __ And(regs_.scratch0(), regs_.object(), Operand(~Page::kPageAlignmentMask)); |
- __ lw(regs_.scratch1(), |
- MemOperand(regs_.scratch0(), |
- MemoryChunk::kWriteBarrierCounterOffset)); |
- __ Subu(regs_.scratch1(), regs_.scratch1(), Operand(1)); |
- __ sw(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); |