lint
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
47a5723704
commit
ae38aedae4
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user