| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 1d547113d270d6536bf719d10750dd6e8467b4f5..09290af06aa7023f3da35cb95f735427f4b24834 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2950,8 +2950,7 @@ static void RecordFunctionCompilation(Logger::LogEventsAndTags tag,
|
| const char* message, uint32_t index,
|
| wasm::WasmName func_name) {
|
| Isolate* isolate = info->isolate();
|
| - if (isolate->logger()->is_logging_code_events() ||
|
| - isolate->cpu_profiler()->is_profiling()) {
|
| + if (isolate->logger()->is_logging_code_events() || isolate->is_profiling()) {
|
| ScopedVector<char> buffer(128);
|
| SNPrintF(buffer, "%s#%d:%.*s", message, index, func_name.length(),
|
| func_name.start());
|
|
|