Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 6f48d4dd6bfda9854f17ca919659e85858ace9a3..4c1c4ef518298636c6301df50c7aac93600fe43b 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -4253,11 +4253,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); |