| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index c66d6ec20839e8ecdb603be33bb18cd867cf08d1..c165e999551244427c9f06a4ba3453ae477a0843 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -1401,7 +1401,7 @@
|
| function, effect, control);
|
| NodeProperties::ReplaceContextInput(node, context);
|
| CallDescriptor::Flags flags = CallDescriptor::kNeedsFrameState;
|
| - if (p.AllowTailCalls()) {
|
| + if (is_strict(p.language_mode())) {
|
| flags |= CallDescriptor::kSupportsTailCalls;
|
| }
|
| NodeProperties::ChangeOp(node,
|
|
|