Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index c39833e2213a7bbce36cc9785ba96da61f53a0f5..c59d9e0e516ae6acf98c0ba5551894a7b777578f 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -5457,9 +5457,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()); |
__ Move(rbx, instr->hydrogen()->shared_info()); |
CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else { |