Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index ad04a003b2c591704d23de745e3946439a8463e3..29b01182ed939d2e3606a6f57bcb1e515f01e4c5 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -69,7 +69,7 @@ void ProfilerEventsProcessor::CallbackCreateEvent(Logger::LogEventsAndTags tag, |
rec->start = start; |
rec->entry = generator_->NewCodeEntry(tag, prefix, name); |
rec->size = 1; |
- rec->sfi_address = NULL; |
+ rec->shared = NULL; |
events_buffer_.Enqueue(evt_rec); |
} |
@@ -80,7 +80,7 @@ void ProfilerEventsProcessor::CodeCreateEvent(Logger::LogEventsAndTags tag, |
int line_number, |
Address start, |
unsigned size, |
- Address sfi_address) { |
+ Address shared) { |
if (FilterOutCodeCreateEvent(tag)) return; |
CodeEventsContainer evt_rec; |
CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; |
@@ -89,7 +89,7 @@ void ProfilerEventsProcessor::CodeCreateEvent(Logger::LogEventsAndTags tag, |
rec->start = start; |
rec->entry = generator_->NewCodeEntry(tag, name, resource_name, line_number); |
rec->size = size; |
- rec->sfi_address = sfi_address; |
+ rec->shared = shared; |
events_buffer_.Enqueue(evt_rec); |
} |
@@ -106,7 +106,7 @@ void ProfilerEventsProcessor::CodeCreateEvent(Logger::LogEventsAndTags tag, |
rec->start = start; |
rec->entry = generator_->NewCodeEntry(tag, name); |
rec->size = size; |
- rec->sfi_address = NULL; |
+ rec->shared = NULL; |
events_buffer_.Enqueue(evt_rec); |
} |
@@ -123,7 +123,7 @@ void ProfilerEventsProcessor::CodeCreateEvent(Logger::LogEventsAndTags tag, |
rec->start = start; |
rec->entry = generator_->NewCodeEntry(tag, args_count); |
rec->size = size; |
- rec->sfi_address = NULL; |
+ rec->shared = NULL; |
events_buffer_.Enqueue(evt_rec); |
} |
@@ -149,10 +149,10 @@ void ProfilerEventsProcessor::CodeDeleteEvent(Address from) { |
} |
-void ProfilerEventsProcessor::SFIMoveEvent(Address from, Address to) { |
+void ProfilerEventsProcessor::SharedFunctionMoveEvent(Address from, Address to) { |
CodeEventsContainer evt_rec; |
- SFIMoveEventRecord* rec = &evt_rec.SFIMoveEventRecord_; |
- rec->type = CodeEventRecord::SFI_MOVE; |
+ SharedFunctionMoveEventRecord* rec = &evt_rec.SharedFunctionMoveEventRecord_; |
+ rec->type = CodeEventRecord::SHARED_FUNC_MOVE; |
rec->order = ++enqueue_order_; |
rec->from = from; |
rec->to = to; |
@@ -403,8 +403,8 @@ void CpuProfiler::CodeDeleteEvent(Address from) { |
} |
-void CpuProfiler::SFIMoveEvent(Address from, Address to) { |
- singleton_->processor_->SFIMoveEvent(from, to); |
+void CpuProfiler::SharedFunctionMoveEvent(Address from, Address to) { |
+ singleton_->processor_->SharedFunctionMoveEvent(from, to); |
} |