| Index: src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| index 24ae4407fd7bb46e6f7a5c9ff90361db593f156c..ed1ab37ee300a498055c96b2ab77d26a97ad2bcd 100644
|
| --- a/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| @@ -3304,6 +3304,7 @@ void LCodeGen::DoApplyArguments(LApplyArguments* instr) {
|
|
|
| InvokeFlag flag = CALL_FUNCTION;
|
| if (instr->hydrogen()->tail_call_mode() == TailCallMode::kAllow) {
|
| + DCHECK(!info()->saves_caller_doubles());
|
| // TODO(ishell): drop current frame before pushing arguments to the stack.
|
| flag = JUMP_FUNCTION;
|
| ParameterCount actual(a0);
|
| @@ -3816,6 +3817,7 @@ void LCodeGen::DoInvokeFunction(LInvokeFunction* instr) {
|
| bool is_tail_call = hinstr->tail_call_mode() == TailCallMode::kAllow;
|
|
|
| if (is_tail_call) {
|
| + DCHECK(!info()->saves_caller_doubles());
|
| ParameterCount actual(instr->arity());
|
| // It is safe to use t0, t1 and t2 as scratch registers here given that
|
| // we are not going to return to caller function anyway.
|
|
|