| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 0a6ac17f9bc784e37f5ad03c5645a030d095b4a5..01770db7f4482e40bfe55d13ec6bf592cfa00500 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -5433,9 +5433,8 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) {
|
| // space for nested functions that don't need literals cloning.
|
| bool pretenure = instr->hydrogen()->pretenure();
|
| if (!pretenure && instr->hydrogen()->has_no_literals()) {
|
| - FastNewClosureStub stub(isolate(),
|
| - instr->hydrogen()->strict_mode(),
|
| - instr->hydrogen()->is_generator());
|
| + FastNewClosureStub stub(isolate(), instr->hydrogen()->strict_mode(),
|
| + instr->hydrogen()->kind());
|
| __ Move(rbx, instr->hydrogen()->shared_info());
|
| CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
|
| } else {
|
|
|