DescriptionCpuProfiler: simplify inlined function info magic.
I did some investigation and found that in the most cases
the old schema with the separate List for functions and inlines
gives us no memory benefits because more frequently we inlines
different functions into parent function. So the plain schema
wins a tens or even hundreds bytes a few thousand times.
The only drawback is that we will print the inlined body
the each time when we inline it. But is not a problem
because it happens only under FLAG_hydrogen_track_positions.
Also I added script_id to the structure, so it could be used later
by cpu-profiler.
BUG=chromium:452067
LOG=n
Committed: https://crrev.com/df9e6fe329b5655932124a9d871d4eacbf51ce08
Cr-Commit-Position: refs/heads/master@{#27134}
Patch Set 1 #
Total comments: 8
Patch Set 2 : comments addressed #
Messages
Total messages: 10 (3 generated)
|