Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index 21aefeaa05a6b69c63fd8c263d8e809a2a1c6b3e..fb695a8e7450dc9857e8ba0a45ee323096a56cdf 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -3188,6 +3188,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(r0); |
@@ -3638,6 +3639,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 r3, r4 and r5 as scratch registers here given that |
// 1) we are not going to return to caller function anyway, |