| Index: src/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc
|
| index 88f6b1809706c2e25da26f156a5239fe8602cb49..35839e6d8b5fcb3f4d3eef779245514b65571d73 100644
|
| --- a/src/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/mips64/lithium-codegen-mips64.cc
|
| @@ -2828,6 +2828,7 @@ void LCodeGen::DoReturn(LReturn* instr) {
|
| __ Daddu(sp, sp, Operand(sp_delta));
|
| }
|
| } else {
|
| + DCHECK(info()->IsStub()); // Functions would need to drop one more value.
|
| Register reg = ToRegister(instr->parameter_count());
|
| // The argument count parameter is a smi
|
| __ SmiUntag(reg);
|
|
|