| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index 0b38fb7d7b9df72301995639afcd024a54ff5f1f..df9e3142acb4f52532962ca5c1a40dfc11cb9a9a 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -3758,11 +3758,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);
|
| + __ CheckIfWhite(regs_.scratch0(), // The value.
|
| + regs_.scratch1(), // Scratch.
|
| + regs_.object(), // Scratch.
|
| + &need_incremental_pop_object, Label::kNear);
|
| __ pop(regs_.object());
|
|
|
| regs_.Restore(masm);
|
|
|