| Index: src/ia32/full-codegen-ia32.cc
|
| diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc
|
| index 18729c98392be87c0b8cc0935f3cda362fffcb2a..f9033f2523951f7f9ff8ec7e664fe6e6ca7c9a98 100644
|
| --- a/src/ia32/full-codegen-ia32.cc
|
| +++ b/src/ia32/full-codegen-ia32.cc
|
| @@ -1245,6 +1245,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info,
|
| // we are creating here gets a chance to have its code optimized and
|
| // doesn't just get a copy of the existing unoptimized code.
|
| if (!FLAG_always_opt &&
|
| + info->asm_mode() != ASM_FUNCTION &&
|
| !FLAG_prepare_always_opt &&
|
| !pretenure &&
|
| scope()->is_function_scope() &&
|
|
|