Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 9b9b40d5a0b67f651687304412f55a40a3c2a8da..37a8406a1d33747a97e06cec952630a6cd82d0d5 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -290,8 +290,7 @@ void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { |
bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
Isolate* isolate = info->isolate(); |
- Logger::TimerEventScope timer( |
- isolate, Logger::TimerEventScope::v8_compile_full_code); |
+ TimerEventScope<TimerEventCompileFullCode> timer(info->isolate()); |
Handle<Script> script = info->script(); |
if (!script->IsUndefined() && !script->source()->IsUndefined()) { |