Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 5732d0b24914286399bc8eb14cef2dd12720511f..1fa2d0e19cdaa872678a96cdc250b482dd4c5f90 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4032,11 +4032,11 @@ void RecordWriteStub::CheckNeedsToInformIncrementalMarker( |
// We need extra registers for this, so we push the object and the address |
// register temporarily. |
__ Push(regs_.object(), regs_.address()); |
- __ EnsureNotWhite(regs_.scratch0(), // The value. |
- regs_.scratch1(), // Scratch. |
- regs_.object(), // Scratch. |
- regs_.address(), // Scratch. |
- &need_incremental_pop_scratch); |
+ __ JumpIfWhite(regs_.scratch0(), // The value. |
+ regs_.scratch1(), // Scratch. |
+ regs_.object(), // Scratch. |
+ regs_.address(), // Scratch. |
+ &need_incremental_pop_scratch); |
__ Pop(regs_.object(), regs_.address()); |
regs_.Restore(masm); |