Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: src/cpu-profiler.cc

Issue 1013143003: CpuProfiler: push the collected information about deopts to cpu profiler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: leak was fixed Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/cpu-profiler.cc
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc
index 89c975da9f8b2bb73f852d2ae7445e812ad44a72..71d349bed16ee2c873819fdf3355492a5a60e71e 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();

Powered by Google App Engine
This is Rietveld 408576698