vendor/v8/src/cpu-profiler-inl.h in mustang-0.0.1 vs vendor/v8/src/cpu-profiler-inl.h in mustang-0.1.0
- old
+ new
@@ -39,12 +39,12 @@
namespace v8 {
namespace internal {
void CodeCreateEventRecord::UpdateCodeMap(CodeMap* code_map) {
code_map->AddCode(start, entry, size);
- if (sfi_address != NULL) {
- entry->set_shared_id(code_map->GetSFITag(sfi_address));
+ if (shared != NULL) {
+ entry->set_shared_id(code_map->GetSharedId(shared));
}
}
void CodeMoveEventRecord::UpdateCodeMap(CodeMap* code_map) {
@@ -55,11 +55,11 @@
void CodeDeleteEventRecord::UpdateCodeMap(CodeMap* code_map) {
code_map->DeleteCode(start);
}
-void SFIMoveEventRecord::UpdateCodeMap(CodeMap* code_map) {
+void SharedFunctionInfoMoveEventRecord::UpdateCodeMap(CodeMap* code_map) {
code_map->MoveCode(from, to);
}
TickSampleEventRecord* TickSampleEventRecord::init(void* value) {
@@ -68,9 +68,10 @@
result->filler = 1;
ASSERT(result->filler != SamplingCircularQueue::kClear);
// Init the required fields only.
result->sample.pc = NULL;
result->sample.frames_count = 0;
+ result->sample.has_external_callback = false;
return result;
}
TickSample* ProfilerEventsProcessor::TickSampleEvent() {