diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc index ca16ad4ec6..f82d8ee97e 100644 --- a/src/cpu-profiler.cc +++ b/src/cpu-profiler.cc @@ -149,9 +149,11 @@ void ProfilerEventsProcessor::CodeDeleteEvent(Address from) { } -void ProfilerEventsProcessor::SharedFunctionInfoMoveEvent(Address from, Address to) { +void ProfilerEventsProcessor::SharedFunctionInfoMoveEvent(Address from, + Address to) { CodeEventsContainer evt_rec; - SharedFunctionInfoMoveEventRecord* rec = &evt_rec.SharedFunctionInfoMoveEventRecord_; + SharedFunctionInfoMoveEventRecord* rec = + &evt_rec.SharedFunctionInfoMoveEventRecord_; rec->type = CodeEventRecord::SHARED_FUNC_MOVE; rec->order = ++enqueue_order_; rec->from = from; diff --git a/src/heap.cc b/src/heap.cc index dfb5d5f1f5..dd4d733f15 100644 --- a/src/heap.cc +++ b/src/heap.cc @@ -1341,7 +1341,8 @@ class ScavengingVisitor : public StaticVisitorBase { #if defined(ENABLE_LOGGING_AND_PROFILING) if (Logger::is_logging() || CpuProfiler::is_profiling()) { if (target->IsSharedFunctionInfo()) { - PROFILE(SharedFunctionInfoMoveEvent(source->address(), target->address())); + PROFILE(SharedFunctionInfoMoveEvent( + source->address(), target->address())); } } #endif