Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 82412a3b16a0b5ba30672d08adbab1dc805e0f20..5b77a93195c93f8df0c593567fa6f9d5552604bc 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1386,7 +1386,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. |