| Index: src/arm64/code-stubs-arm64.cc
|
| diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc
|
| index 9967847c62c38c01fb838687edafb6c962835c8c..1ce24634ff04e09a9314f73d4afb662f276248ac 100644
|
| --- a/src/arm64/code-stubs-arm64.cc
|
| +++ b/src/arm64/code-stubs-arm64.cc
|
| @@ -4106,12 +4106,12 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker(
|
| // We need extra registers for this, so we push the object and the address
|
| // register temporarily.
|
| __ Push(regs_.address(), regs_.object());
|
| - __ EnsureNotWhite(val,
|
| - regs_.scratch1(), // Scratch.
|
| - regs_.object(), // Scratch.
|
| - regs_.address(), // Scratch.
|
| - regs_.scratch2(), // Scratch.
|
| - &need_incremental_pop_scratch);
|
| + __ CheckIfWhite(val,
|
| + regs_.scratch1(), // Scratch.
|
| + regs_.object(), // Scratch.
|
| + regs_.address(), // Scratch.
|
| + regs_.scratch2(), // Scratch.
|
| + &need_incremental_pop_scratch);
|
| __ Pop(regs_.object(), regs_.address());
|
|
|
| regs_.Restore(masm); // Restore the extra scratch registers we used.
|
|
|