| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 2349640029056a4070f05b297e18c4890eed2918..ba5f3fd56ea511d39162be59ff77f22f85cc9c22 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1361,7 +1361,6 @@ MaybeHandle<Code> Compiler::GetOptimizedCode(Handle<JSFunction> function,
|
| PostponeInterruptsScope postpone(isolate);
|
|
|
| Handle<SharedFunctionInfo> shared = info->shared_info();
|
| - shared->set_optimize_next_closure(false);
|
| if (shared->code()->kind() != Code::FUNCTION ||
|
| ScopeInfo::Empty(isolate) == shared->scope_info()) {
|
| // The function was never compiled. Compile it unoptimized first.
|
|
|