Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index 7330262e234c2ee1ea65465a3ffb7f81618bb288..853d43bcdd4fdd18e4a6317aed3f72633a27e3ef 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -106,7 +106,6 @@ void RuntimeProfiler::Optimize(JSFunction* function, const char* reason) { |
PrintF("]\n"); |
} |
- function->shared()->set_optimize_next_closure(true); |
function->AttemptConcurrentOptimization(); |
} |