Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 1990f687b1d33f6138d93f0092d8c6998d6b494a..db1430b5757a34479ce14dabb84627c8a57ed6cf 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1254,9 +1254,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()); |
__ mov(ebx, Immediate(info)); |
__ CallStub(&stub); |
} else { |