| Index: src/x64/code-stubs-x64.cc
|
| ===================================================================
|
| --- src/x64/code-stubs-x64.cc (revision 12583)
|
| +++ src/x64/code-stubs-x64.cc (working copy)
|
| @@ -6276,6 +6276,17 @@
|
| Label need_incremental;
|
| Label need_incremental_pop_object;
|
|
|
| + __ movq(regs_.scratch0(), Immediate(~Page::kPageAlignmentMask));
|
| + __ and_(regs_.scratch0(), regs_.object());
|
| + __ movq(regs_.scratch1(),
|
| + Operand(regs_.scratch0(),
|
| + MemoryChunk::kWriteBarrierCounterOffset));
|
| + __ subq(regs_.scratch1(), Immediate(1));
|
| + __ movq(Operand(regs_.scratch0(),
|
| + MemoryChunk::kWriteBarrierCounterOffset),
|
| + regs_.scratch1());
|
| + __ j(negative, &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(),
|
|
|