| Index: src/crankshaft/x87/lithium-codegen-x87.cc
|
| diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc
|
| index b79ae64c243e7b363d7de49e992ff3e8b9beb263..a60029d58f251c2ef159a6bc41a28180af2fd69c 100644
|
| --- a/src/crankshaft/x87/lithium-codegen-x87.cc
|
| +++ b/src/crankshaft/x87/lithium-codegen-x87.cc
|
| @@ -3210,6 +3210,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(eax);
|
| @@ -3844,6 +3845,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 ebx, ecx and edx as scratch registers here given that
|
| // 1) we are not going to return to caller function anyway,
|
|
|