• loislo's avatar
    Propagate DeoptInfo to cpu-profiler · 86cae163
    loislo authored
    1) Deoptimizer::Reason was replaced with Deoptimizer::DeoptInfo
    because it also has raw position. Also the old name clashes with DeoptReason enum.
    
    2) c_entry_fp assignment call was added to EntryGenerator::Generate
    So we can calculate sp and have a chance to record the stack for the deopting function.
    btw it makes the test stable.
    
    3) new kind of CodeEvents was added to cpu-profiler
    
    4) GetDeoptInfo method was extracted from PrintDeoptLocation.
    So it could be reused in cpu profiler.
    
    BUG=452067
    LOG=n
    
    Review URL: https://codereview.chromium.org/910773002
    
    Cr-Commit-Position: refs/heads/master@{#26545}
    86cae163
lithium-codegen-arm64.cc 206 KB