Index: src/compiler/s390/instruction-selector-s390.cc |
diff --git a/src/compiler/s390/instruction-selector-s390.cc b/src/compiler/s390/instruction-selector-s390.cc |
index cc9cbd93002f680b90bdc54457a9f514bac16984..e8da557d80ea0afab87910672e51d41673a022f2 100644 |
--- a/src/compiler/s390/instruction-selector-s390.cc |
+++ b/src/compiler/s390/instruction-selector-s390.cc |
@@ -1706,7 +1706,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. |