| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 86d5de3aec6856acdddbaef03f2fef5e4100cb78..0efdeb2f57e9e0a9035af48e7c9bf1a65547118f 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -767,7 +767,8 @@ 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() || CpuProfiler::is_profiling()) {
|
| + if (info->isolate()->logger()->is_logging() ||
|
| + CpuProfiler::is_profiling(info->isolate())) {
|
| Handle<Script> script = info->script();
|
| Handle<Code> code = info->code();
|
| if (*code == info->isolate()->builtins()->builtin(Builtins::kLazyCompile))
|
|
|