| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index fac63d5713402cf5a397c3438b893a01e4ded5b3..88510d521016eda450f3dd8c58faa2bcbdcc2ab3 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1003,7 +1003,7 @@ void Compiler::RecordFunctionCompilation(Logger::LogEventsAndTags tag,
|
| // Log the code generation. If source information is available include
|
| // script name and line number. Check explicitly whether logging is
|
| // enabled as finding the line number is not free.
|
| - if (info->isolate()->logger()->is_logging_code_events() ||
|
| + if (info->isolate()->logger()->is_logging() ||
|
| CpuProfiler::is_profiling(info->isolate())) {
|
| Handle<Script> script = info->script();
|
| Handle<Code> code = info->code();
|
|
|