| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 30ffdaa766d4dc9e8b7b46e200522ba3fa188b7d..87ff9ea2092a11180a5eaee1a1baa96e2db225ce 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1024,6 +1024,9 @@ Handle<SharedFunctionInfo> CompileToplevel(CompilationInfo* info) {
|
| // Measure how long it takes to do the compilation; only take the
|
| // rest of the function into account to avoid overlap with the
|
| // parsing statistics.
|
| + RuntimeCallTimerScope runtimeTimer(
|
| + isolate, parse_info->is_eval() ? &RuntimeCallStats::CompileEval
|
| + : &RuntimeCallStats::Compile);
|
| HistogramTimer* rate = parse_info->is_eval()
|
| ? info->isolate()->counters()->compile_eval()
|
| : info->isolate()->counters()->compile();
|
|
|