| Index: src/arm64/lithium-codegen-arm64.cc
|
| diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc
|
| index 904eecd2e10a0b2672249241dabf62b2d28ddc9a..da237a686de50e7a02fbff5bacb20777491a5312 100644
|
| --- a/src/arm64/lithium-codegen-arm64.cc
|
| +++ b/src/arm64/lithium-codegen-arm64.cc
|
| @@ -2864,9 +2864,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());
|
| __ Mov(x2, Operand(instr->hydrogen()->shared_info()));
|
| CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
|
| } else {
|
|
|