Index: src/profiler/cpu-profiler.cc |
diff --git a/src/profiler/cpu-profiler.cc b/src/profiler/cpu-profiler.cc |
index 47585b7b08c93def8243ea86290a3d00cd715d40..343b828613118311623ce03b53b28699cdd2ba1d 100644 |
--- a/src/profiler/cpu-profiler.cc |
+++ b/src/profiler/cpu-profiler.cc |
@@ -242,7 +242,7 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, |
void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, |
AbstractCode* code, |
SharedFunctionInfo* shared, |
- CompilationInfo* info, Name* script_name) { |
+ Name* script_name) { |
CodeEventsContainer evt_rec(CodeEventRecord::CODE_CREATION); |
CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; |
rec->start = code->address(); |
@@ -253,9 +253,6 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, |
CpuProfileNode::kNoLineNumberInfo, CpuProfileNode::kNoColumnNumberInfo, |
NULL, code->instruction_start()); |
RecordInliningInfo(rec->entry, code); |
- if (info) { |
Yang
2016/04/21 11:17:15
Does removing this break anything? If not, can we
|
- rec->entry->set_inlined_function_infos(info->inlined_function_infos()); |
- } |
rec->entry->FillFunctionInfo(shared); |
rec->size = code->ExecutableSize(); |
processor_->Enqueue(evt_rec); |