Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 6a3f991fbc4d1745126062f29c4064af9480e5ed..07c9fb0260392ef1daa3b327b2b450c339fdb817 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -5295,9 +5295,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()); |
__ mov(ebx, Immediate(instr->hydrogen()->shared_info())); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else { |