Index: src/compiler/x64/instruction-selector-x64.cc |
diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc |
index be56dce0d844c6ea8650bd40832f9bc7592dbaa6..a87b3fc3494ed8e24362d309643d2d0125522309 100644 |
--- a/src/compiler/x64/instruction-selector-x64.cc |
+++ b/src/compiler/x64/instruction-selector-x64.cc |
@@ -1431,7 +1431,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. |