| Index: src/runtime-profiler.cc
|
| diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc
|
| index f786846b365ba1cc43ac04a4803dbeef8c803a92..c87ba7e18e8f0a76d4cfec87a1776f48abced35b 100644
|
| --- a/src/runtime-profiler.cc
|
| +++ b/src/runtime-profiler.cc
|
| @@ -106,7 +106,7 @@ void RuntimeProfiler::Optimize(JSFunction* function, const char* reason) {
|
| PrintF("]\n");
|
| }
|
|
|
| -
|
| + function->shared()->set_optimize_next_closure(true);
|
| if (isolate_->concurrent_recompilation_enabled() &&
|
| !isolate_->bootstrapper()->IsActive()) {
|
| if (isolate_->concurrent_osr_enabled() &&
|
|
|