Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 978ef7324d540cb773a72e356fbc3ce2b03dbc67..aca6bb36199126681254fe7d98e18cda18767cd6 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5479,9 +5479,8 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) { |
// space for nested functions that don't need literals cloning. |
bool pretenure = instr->hydrogen()->pretenure(); |
if (!pretenure && instr->hydrogen()->has_no_literals()) { |
- FastNewClosureStub stub(isolate(), |
- instr->hydrogen()->strict_mode(), |
- instr->hydrogen()->is_generator()); |
+ FastNewClosureStub stub(isolate(), instr->hydrogen()->strict_mode(), |
+ instr->hydrogen()->kind()); |
__ li(a2, Operand(instr->hydrogen()->shared_info())); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else { |