• loislo's avatar
    CpuProfiler: fix for GetDeoptReason code. · 66ab309e
    loislo authored
    The original code always returned the first entry from RelocInfo that matched with
    bailout_id. But we may have a few different deopt reasons for one bailout_id.
    So we need to get the one which matches with a particular call from JumpTable.
    
    We can do this by checking not 'target_address' (it maps to bailout_id)
    but 'from' address which maps to a particular JumpTable entry.
    
    The test was reworked so it tests identical functions against different reasons.
    
    BUG=chromium:452067
    LOG=n
    
    Review URL: https://codereview.chromium.org/984773003
    
    Cr-Commit-Position: refs/heads/master@{#27076}
    66ab309e
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...