• Victor Gomes's avatar
    [maglev] Use virtual accumulator slot in frame array · 857b33f5
    Victor Gomes authored
    During a frame merge we call ForEachValue that "get"s every
    live register, including the virtual accumulator. That currently
    fails since we need to check if the register is the virtual
    accumulator and set/get the accumulator field in InterpreterFrameState.
    
    The virtual accumulator slot in RegisterFrameArray (the same as the
    return address in a live frame) is actually unused.
    So we can use this slot for the InterpreterFrameState's accumulator,
    instead of a separate field.
    
    Bug: v8:7700
    Change-Id: Ife33946a4f9c58ca1f4eadeb587f9880f6fb2afc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3536648
    Auto-Submit: Victor Gomes <victorgomes@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#79553}
    857b33f5
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
maglev-basic-block.h Loading commit data...
maglev-code-gen-state.h Loading commit data...
maglev-code-generator.cc Loading commit data...
maglev-code-generator.h Loading commit data...
maglev-compilation-info.cc Loading commit data...
maglev-compilation-info.h Loading commit data...
maglev-compilation-unit.cc Loading commit data...
maglev-compilation-unit.h Loading commit data...
maglev-compiler.cc Loading commit data...
maglev-compiler.h Loading commit data...
maglev-concurrent-dispatcher.cc Loading commit data...
maglev-concurrent-dispatcher.h Loading commit data...
maglev-graph-builder.cc Loading commit data...
maglev-graph-builder.h Loading commit data...
maglev-graph-labeller.h Loading commit data...
maglev-graph-printer.cc Loading commit data...
maglev-graph-printer.h Loading commit data...
maglev-graph-processor.h Loading commit data...
maglev-graph.h Loading commit data...
maglev-interpreter-frame-state.h Loading commit data...
maglev-ir.cc Loading commit data...
maglev-ir.h Loading commit data...
maglev-regalloc-data.h Loading commit data...
maglev-regalloc.cc Loading commit data...
maglev-regalloc.h Loading commit data...
maglev-register-frame-array.h Loading commit data...
maglev-vreg-allocator.h Loading commit data...
maglev.cc Loading commit data...
maglev.h Loading commit data...