| Index: src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| index 104da6a849aca74084c54b37b903384206ef7a88..d8ce1867706ea912ae6b9aab28e61864c63d275f 100644
|
| --- a/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc
|
| @@ -2931,6 +2931,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);
|
| @@ -3483,6 +3484,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,
|
|
|