Index: src/compiler/ppc/instruction-selector-ppc.cc |
diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc |
index 02a5c2a4a527671f8b4a82a5e5d110073739914f..85eeb2c2a1d33178fecff159eb80510fc55a8b3b 100644 |
--- a/src/compiler/ppc/instruction-selector-ppc.cc |
+++ b/src/compiler/ppc/instruction-selector-ppc.cc |
@@ -1867,7 +1867,7 @@ void InstructionSelector::EmitPrepareArguments( |
// Prepare for C function call. |
if (descriptor->IsCFunctionCall()) { |
Emit(kArchPrepareCallCFunction | |
- MiscField::encode(static_cast<int>(descriptor->CParameterCount())), |
+ MiscField::encode(static_cast<int>(descriptor->ParameterCount())), |
0, nullptr, 0, nullptr); |
// Poke any stack arguments. |