Index: src/s390/code-stubs-s390.cc |
diff --git a/src/s390/code-stubs-s390.cc b/src/s390/code-stubs-s390.cc |
index 111b317bd77e02cb4dfb5bbd1ee46e2359d6bebc..2fc81a1d56a6377ca71feabc764107fef0a0ac32 100644 |
--- a/src/s390/code-stubs-s390.cc |
+++ b/src/s390/code-stubs-s390.cc |
@@ -3325,18 +3325,6 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker( |
Label need_incremental; |
Label need_incremental_pop_scratch; |
- DCHECK((~Page::kPageAlignmentMask & 0xffff) == 0); |
- __ AndP(regs_.scratch0(), regs_.object(), Operand(~Page::kPageAlignmentMask)); |
- __ LoadP( |
- regs_.scratch1(), |
- MemOperand(regs_.scratch0(), MemoryChunk::kWriteBarrierCounterOffset)); |
- __ SubP(regs_.scratch1(), regs_.scratch1(), Operand(1)); |
- __ StoreP( |
- regs_.scratch1(), |
- MemOperand(regs_.scratch0(), MemoryChunk::kWriteBarrierCounterOffset)); |
- __ CmpP(regs_.scratch1(), Operand::Zero()); // S390, 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); |