Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index 8a58d4b339194bb4e096f3f0b8499c53f9b469ff..7da40ff277f500b5e940fd7a113d08d4ea42b907 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -5519,9 +5519,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 { |