diff options
Diffstat (limited to 'deps/v8/src/profiler/cpu-profiler.cc')
-rw-r--r-- | deps/v8/src/profiler/cpu-profiler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/profiler/cpu-profiler.cc b/deps/v8/src/profiler/cpu-profiler.cc index b4dc3e3d3f..a59c9359eb 100644 --- a/deps/v8/src/profiler/cpu-profiler.cc +++ b/deps/v8/src/profiler/cpu-profiler.cc @@ -74,7 +74,7 @@ ProfilingScope::ProfilingScope(Isolate* isolate, ProfilerListener* listener) size_t profiler_count = isolate_->num_cpu_profilers(); profiler_count++; isolate_->set_num_cpu_profilers(profiler_count); - isolate_->set_is_profiling(true); + isolate_->SetIsProfiling(true); #if V8_ENABLE_WEBASSEMBLY wasm::GetWasmEngine()->EnableCodeLogging(isolate_); #endif // V8_ENABLE_WEBASSEMBLY @@ -99,7 +99,7 @@ ProfilingScope::~ProfilingScope() { DCHECK_GT(profiler_count, 0); profiler_count--; isolate_->set_num_cpu_profilers(profiler_count); - if (profiler_count == 0) isolate_->set_is_profiling(false); + if (profiler_count == 0) isolate_->SetIsProfiling(false); } ProfilerEventsProcessor::ProfilerEventsProcessor( |