• mythria's avatar
    [Interpreter] Adds support to fetch return value on break at return. · fb65527b
    mythria authored
    Debugger fetches the return value of a function when we break at return.
    Interpreter holds the return value in accumulator. This is not stored in a
    specified location on stack and hence it is not possible to look it up from
    stack similar to full-codegen or optimized frames. This cl adds support to
    store the value of accumulator on debug breaks. The value of accumulator is
    passed to the runtime function and is then stored in thread local data.
    
    Also changes full-codegen implementation to match that of ignition.
    The return value from full-codegen is also stored in thread local data.
    The return value is fetched directly thread local data instead of
    finding it by iterating over frames.
    
    BUG=v8:4280, v8:4690
    LOG=N
    
    Review URL: https://codereview.chromium.org/1818873003
    
    Cr-Commit-Position: refs/heads/master@{#35060}
    fb65527b
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
fuzzer Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...