• mythria's avatar
    [Interpreter] Adds support to fetch return value on break at return. · b82720df
    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/1842683002
    
    Cr-Commit-Position: refs/heads/master@{#35127}
    b82720df
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
x87 Loading commit data...
OWNERS Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
debug.js Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...
liveedit.js Loading commit data...
mirrors.js Loading commit data...