• loislo's avatar
    CpuProfiler: eliminate cpu-profiler dependency from heap-inl.h · 8ba89cce
    loislo authored
    We accessed to cpu_profiler for tracking SharedFunctionInfo objects movements and used their addresses for generating function_id. Actually we could replace the manually generated shared_id by the pair script_id + position. In this case we can drop SharedFunctionInfo events support from cpu_profiler and remove the dependency.
    
    BTW GetCallUid was used as an unique identifier of the function on the front-end side. Actually it is a hash which might not be unique. So I renamed GetCallUid with GetHash and implemented GetFunctionId method.
    
    BUG=452067
    LOG=n
    
    Review URL: https://codereview.chromium.org/941973002
    
    Cr-Commit-Position: refs/heads/master@{#26775}
    8ba89cce
lithium-codegen-ppc.cc 206 KB