Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index 927940afc25513c3349c0bda82e5ae7444588da8..9f624fa58f072bd3e8394fcff755bd83936b5c87 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -1613,7 +1613,9 @@ Reduction JSTypedLowering::ReduceJSCallFunction(Node* node) { |
// Compute flags for the call. |
CallDescriptor::Flags flags = CallDescriptor::kNeedsFrameState; |
- if (p.AllowTailCalls()) flags |= CallDescriptor::kSupportsTailCalls; |
+ if (p.tail_call_mode() == TailCallMode::kAllow) { |
+ flags |= CallDescriptor::kSupportsTailCalls; |
+ } |
if (shared->internal_formal_parameter_count() == arity || |
shared->internal_formal_parameter_count() == |