DescriptionCpuProfiler: move InlinedFunctionInfo class from HGraphBuilder to CompilationInfo.
A function could be deoptimized due to a deopt in the inlined code.
The inlined function might be defined in another script. So we need to
track the information about the inlined functions (scriptId and offset).
We already have the tracking code which is behind FLAG_hydrogen_track_position.
So as the first step we need to make the info accessible by CPU profiler.
In the follow-up patches I'll add the code which will enable position
tracking and push the info into CodeEntry entries.
BUG=452067
LOG=n
Committed: https://crrev.com/e60ec273cca2c542bb98ef7f97dd4af7d4b84e5a
Cr-Commit-Position: refs/heads/master@{#26680}
Patch Set 1 #
Total comments: 8
Patch Set 2 : comments addressed #
Total comments: 2
Patch Set 3 : out of bounds access to the script source was fixed #
Messages
Total messages: 15 (6 generated)
|