Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index fd6bcae4421213d0ee461f03df62708926ce9b26..5babef0c61a7e9757c37b3e894c7a98cd4d7655b 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1288,9 +1288,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
!pretenure && |
scope()->is_function_scope() && |
info->num_literals() == 0) { |
- FastNewClosureStub stub(isolate(), |
- info->strict_mode(), |
- info->is_generator()); |
+ FastNewClosureStub stub(isolate(), info->strict_mode(), info->kind()); |
__ Move(rbx, info); |
__ CallStub(&stub); |
} else { |