Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 1aa549a3c40728fad9242b16ee83dfa7a76f77e2..153581d826d768b40827a1b9dc9c4b2e5427ffdd 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -4285,11 +4285,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); |