Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index efbdf135445b9988494af3affdfab5775f3bd9f4..509b4849a969c47cc0d748162207ced511126962 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1214,7 +1214,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
!pretenure && |
scope()->is_function_scope() && |
info->num_literals() == 0) { |
- FastNewClosureStub stub(info->language_mode()); |
+ FastNewClosureStub stub(info->language_mode(), info->is_generator()); |
__ push(Immediate(info)); |
__ CallStub(&stub); |
} else { |