Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index d8550494e7e307175a0ffb43b78154b45c9c0c12..afd5ba51935a8dc110dd1ce859046945bb3a48e6 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5490,7 +5490,8 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) { |
Handle<SharedFunctionInfo> shared_info = instr->shared_info(); |
bool pretenure = instr->hydrogen()->pretenure(); |
if (!pretenure && shared_info->num_literals() == 0) { |
- FastNewClosureStub stub(shared_info->language_mode()); |
+ FastNewClosureStub stub(shared_info->language_mode(), |
+ shared_info->is_generator()); |
__ li(a1, Operand(shared_info)); |
__ push(a1); |
CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |