From ae38aedae408230ca4a81ecdeb5c254b4ef8b800 Mon Sep 17 00:00:00 2001 From: "mikhail.naganov@gmail.com" Date: Thu, 10 Mar 2011 11:49:17 +0000 Subject: [PATCH] lint git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/cpu-profiler.cc | 6 ++++-- src/heap.cc | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) 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