• balazs.kilvady's avatar
    MIPS64: Propagate DeoptInfo to cpu-profiler · 661668f7
    balazs.kilvady authored
    Port 86cae163
    
    Original commit message:
    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/907383003
    
    Cr-Commit-Position: refs/heads/master@{#26554}
    661668f7
deoptimizer-mips64.cc 13.9 KB