Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 7e8b7088830ecdfce2669e808bc12fc850976e2e..8ad8ae281fb186726bbf79fe083ad43285b1e584 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 { |