| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index 34813f8a08b606d8077180bce08a092906a726bc..54d44e1600e7085d385495e51fe5a318528b4726 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -4003,11 +4003,10 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker(
|
| // We need an extra register for this, so we push the object register
|
| // temporarily.
|
| __ Push(regs_.object());
|
| - __ EnsureNotWhite(regs_.scratch0(), // The value.
|
| - regs_.scratch1(), // Scratch.
|
| - regs_.object(), // Scratch.
|
| - &need_incremental_pop_object,
|
| - Label::kNear);
|
| + __ JumpIfWhite(regs_.scratch0(), // The value.
|
| + regs_.scratch1(), // Scratch.
|
| + regs_.object(), // Scratch.
|
| + &need_incremental_pop_object, Label::kNear);
|
| __ Pop(regs_.object());
|
|
|
| regs_.Restore(masm);
|
|
|