Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 2cfca2f61063c8c5a3d998e48644ed6be6befdbb..eaac6b032b6693d7dff7f085ec1ce852e0fc8005 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -5684,7 +5684,7 @@ static void CallApiFunctionStubHelper(MacroAssembler* masm, |
STATIC_ASSERT(FCA::kHolderIndex == 0); |
STATIC_ASSERT(FCA::kArgsLength == 7); |
- DCHECK(argc.is_immediate() || r3.is(argc.reg())); |
+ DCHECK(argc.is_immediate() || r6.is(argc.reg())); |
// context save |
__ push(context); |