• 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
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-arm64-inl.h Loading commit data...
assembler-arm64.cc Loading commit data...
assembler-arm64.h Loading commit data...
builtins-arm64.cc Loading commit data...
code-stubs-arm64.cc Loading commit data...
code-stubs-arm64.h Loading commit data...
codegen-arm64.cc Loading commit data...
codegen-arm64.h Loading commit data...
constants-arm64.h Loading commit data...
cpu-arm64.cc Loading commit data...
debug-arm64.cc Loading commit data...
decoder-arm64-inl.h Loading commit data...
decoder-arm64.cc Loading commit data...
decoder-arm64.h Loading commit data...
delayed-masm-arm64-inl.h Loading commit data...
delayed-masm-arm64.cc Loading commit data...
delayed-masm-arm64.h Loading commit data...
deoptimizer-arm64.cc Loading commit data...
disasm-arm64.cc Loading commit data...
disasm-arm64.h Loading commit data...
frames-arm64.cc Loading commit data...
frames-arm64.h Loading commit data...
full-codegen-arm64.cc Loading commit data...
instructions-arm64.cc Loading commit data...
instructions-arm64.h Loading commit data...
instrument-arm64.cc Loading commit data...
instrument-arm64.h Loading commit data...
interface-descriptors-arm64.cc Loading commit data...
interface-descriptors-arm64.h Loading commit data...
lithium-arm64.cc Loading commit data...
lithium-arm64.h Loading commit data...
lithium-codegen-arm64.cc Loading commit data...
lithium-codegen-arm64.h Loading commit data...
lithium-gap-resolver-arm64.cc Loading commit data...
lithium-gap-resolver-arm64.h Loading commit data...
macro-assembler-arm64-inl.h Loading commit data...
macro-assembler-arm64.cc Loading commit data...
macro-assembler-arm64.h Loading commit data...
regexp-macro-assembler-arm64.cc Loading commit data...
regexp-macro-assembler-arm64.h Loading commit data...
simulator-arm64.cc Loading commit data...
simulator-arm64.h Loading commit data...
utils-arm64.cc Loading commit data...
utils-arm64.h Loading commit data...