| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index 395ae39c30e2f99bbd53849a0afd25f52094c623..5ec85893c61a32e8739eb492f79769638e49fcff 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -5268,9 +5268,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 {
|
|
|