Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index f41ca4784e1bc31145810183325ed87a5a9159e2..2931c1520853e1953d1ce9f4d9f29cdc5502a178 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1277,7 +1277,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()); |
__ li(a0, Operand(info)); |
__ push(a0); |
__ CallStub(&stub); |