| Index: src/heap-profiler.cc | 
| diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc | 
| index 46320b615418fa628b4644c3f98a2a22cd89558e..b45e97b690fc3fd30b922f4603229074c17bc65d 100644 | 
| --- a/src/heap-profiler.cc | 
| +++ b/src/heap-profiler.cc | 
| @@ -177,7 +177,7 @@ void HeapProfiler::DropCompiledCode() { | 
| Isolate* isolate = heap()->isolate(); | 
| HandleScope scope(isolate); | 
|  | 
| -  if (FLAG_concurrent_recompilation) { | 
| +  if (isolate->concurrent_recompilation_enabled()) { | 
| isolate->optimizing_compiler_thread()->Flush(); | 
| } | 
|  | 
|  |