Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 4b3a644a1fb19b6efa14497b7932fc4c64fead63..53415991c57f2a39758563300a804f8e66b4c037 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -1314,9 +1314,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 { |