| Index: src/mips64/macro-assembler-mips64.cc
|
| diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc
|
| index aa6250555e61d0210b503b882d56bff34214efac..13b4be0be60065500f3ba8cea41b835e4514bbbc 100644
|
| --- a/src/mips64/macro-assembler-mips64.cc
|
| +++ b/src/mips64/macro-assembler-mips64.cc
|
| @@ -6598,6 +6598,7 @@ void MacroAssembler::CallCFunction(Register function,
|
| void MacroAssembler::CallCFunctionHelper(Register function,
|
| int num_reg_arguments,
|
| int num_double_arguments) {
|
| + DCHECK_LE(num_reg_arguments + num_double_arguments, kMaxCParameters);
|
| DCHECK(has_frame());
|
| // Make sure that the stack is aligned before calling a C function unless
|
| // running in the simulator. The simulator has its own alignment check which
|
|
|