| Index: src/crankshaft/x64/lithium-x64.cc
|
| diff --git a/src/crankshaft/x64/lithium-x64.cc b/src/crankshaft/x64/lithium-x64.cc
|
| index af396e4653de9968a0ba3331622a11e89105c6c0..fe26e8582aa64d3b9dfeec03b4004c7920b51a43 100644
|
| --- a/src/crankshaft/x64/lithium-x64.cc
|
| +++ b/src/crankshaft/x64/lithium-x64.cc
|
| @@ -2544,11 +2544,9 @@ LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) {
|
| HEnvironment* outer = current_block_->last_environment();
|
| outer->set_ast_id(instr->ReturnId());
|
| HConstant* undefined = graph()->GetConstantUndefined();
|
| - HEnvironment* inner = outer->CopyForInlining(instr->closure(),
|
| - instr->arguments_count(),
|
| - instr->function(),
|
| - undefined,
|
| - instr->inlining_kind());
|
| + HEnvironment* inner = outer->CopyForInlining(
|
| + instr->closure(), instr->arguments_count(), instr->function(), undefined,
|
| + instr->inlining_kind(), instr->syntactic_tail_call_mode());
|
| // Only replay binding of arguments object if it wasn't removed from graph.
|
| if (instr->arguments_var() != NULL && instr->arguments_object()->IsLinked()) {
|
| inner->Bind(instr->arguments_var(), instr->arguments_object());
|
|
|