Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index 5f7e86510ab99bd344328ca7563ca81a83ddf6f7..7b5f94a5f45a94f35c13b7e4622e3ee50d0d0a60 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -251,6 +251,7 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code, |
NULL, code->instruction_start()); |
if (info) { |
rec->entry->set_no_frame_ranges(info->ReleaseNoFrameRanges()); |
+ rec->entry->set_inlined_function_infos(info->ReleaseInlinedFunctionInfos()); |
} |
rec->entry->FillFunctionInfo(shared); |
rec->size = code->ExecutableSize(); |
@@ -288,6 +289,7 @@ void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag, Code* code, |
column, line_table, code->instruction_start()); |
if (info) { |
rec->entry->set_no_frame_ranges(info->ReleaseNoFrameRanges()); |
+ rec->entry->set_inlined_function_infos(info->ReleaseInlinedFunctionInfos()); |
} |
rec->entry->FillFunctionInfo(shared); |
rec->size = code->ExecutableSize(); |
@@ -336,6 +338,7 @@ void CpuProfiler::CodeDeoptEvent(Code* code, Address pc, int fp_to_sp_delta) { |
rec->start = code->address(); |
rec->deopt_reason = Deoptimizer::GetDeoptReason(info.deopt_reason); |
rec->position = info.position; |
+ rec->pc_offset = static_cast<int>(pc - code->instruction_start()); |
processor_->Enqueue(evt_rec); |
processor_->AddDeoptStack(isolate_, pc, fp_to_sp_delta); |
} |