Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 62205bd9849d94f8d69616fd088d2e223a4f7636..e5ef9ec698c5245eeff9e4a4c9e9a359bc49b4d9 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -1319,9 +1319,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()); |
__ li(a2, Operand(info)); |
__ CallStub(&stub); |
} else { |