• 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
..
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-i18n.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-json.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-liveedit.cc Loading commit data...
runtime-maths.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-observe.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-simd.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-uri.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...