Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 78820fbcc5f5ac65c99a6ca2f9b17ac0a66f37c6..02332972961a0ee6ee1600e6b357c2839f83ae79 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -4232,11 +4232,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); |