lint

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 47a57237
...@@ -149,9 +149,11 @@ void ProfilerEventsProcessor::CodeDeleteEvent(Address from) { ...@@ -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; CodeEventsContainer evt_rec;
SharedFunctionInfoMoveEventRecord* rec = &evt_rec.SharedFunctionInfoMoveEventRecord_; SharedFunctionInfoMoveEventRecord* rec =
&evt_rec.SharedFunctionInfoMoveEventRecord_;
rec->type = CodeEventRecord::SHARED_FUNC_MOVE; rec->type = CodeEventRecord::SHARED_FUNC_MOVE;
rec->order = ++enqueue_order_; rec->order = ++enqueue_order_;
rec->from = from; rec->from = from;
......
...@@ -1341,7 +1341,8 @@ class ScavengingVisitor : public StaticVisitorBase { ...@@ -1341,7 +1341,8 @@ class ScavengingVisitor : public StaticVisitorBase {
#if defined(ENABLE_LOGGING_AND_PROFILING) #if defined(ENABLE_LOGGING_AND_PROFILING)
if (Logger::is_logging() || CpuProfiler::is_profiling()) { if (Logger::is_logging() || CpuProfiler::is_profiling()) {
if (target->IsSharedFunctionInfo()) { if (target->IsSharedFunctionInfo()) {
PROFILE(SharedFunctionInfoMoveEvent(source->address(), target->address())); PROFILE(SharedFunctionInfoMoveEvent(
source->address(), target->address()));
} }
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment