• loislo's avatar
    CpuProfiler: move InlinedFunctionInfo class from HGraphBuilder to CompilationInfo. · e60ec273
    loislo authored
    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
    
    Review URL: https://codereview.chromium.org/914413007
    
    Cr-Commit-Position: refs/heads/master@{#26680}
    e60ec273
compiler.cc 57.1 KB