Index: src/optimizing-compiler-thread.cc |
diff --git a/src/optimizing-compiler-thread.cc b/src/optimizing-compiler-thread.cc |
index 5a048c44b99ea2d97b761f058ab99d61e8cb245f..966928416abc934d7b1a96ab5bf903cbd9de22bd 100644 |
--- a/src/optimizing-compiler-thread.cc |
+++ b/src/optimizing-compiler-thread.cc |
@@ -45,8 +45,7 @@ void OptimizingCompilerThread::Run() { |
while (true) { |
input_queue_semaphore_.Wait(); |
- Logger::TimerEventScope timer( |
- isolate_, Logger::TimerEventScope::v8_recompile_concurrent); |
+ TimerEventScope<TimerEventRecompileConcurrent> timer(isolate_); |
if (FLAG_concurrent_recompilation_delay != 0) { |
base::OS::Sleep(FLAG_concurrent_recompilation_delay); |