From 4f6c5108c4dfd0b228aaf448d515efd1c1b1ec4b Mon Sep 17 00:00:00 2001 From: mbrandy Date: Wed, 2 Mar 2016 14:57:06 -0800 Subject: [PATCH] PPC: Fix DCHECK in CallApiFunctionStubHelper. R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG= Review URL: https://codereview.chromium.org/1756303002 Cr-Commit-Position: refs/heads/master@{#34448} --- src/ppc/code-stubs-ppc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc index 2cfca2f610..eaac6b032b 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);