| Index: src/crankshaft/x64/lithium-codegen-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| index 353e178cf2c703886b9669acab76e6850fd48f21..7c9cef70766f0b868f130d8a833c245a43df4490 100644
|
| --- a/src/crankshaft/x64/lithium-codegen-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-codegen-x64.cc
|
| @@ -3134,6 +3134,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(rax);
|
| @@ -3687,6 +3688,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 rbx, rcx and r8 as scratch registers here given that
|
| // 1) we are not going to return to caller function anyway,
|
|
|