• Andreas Haas's avatar
    [arm][turbofan] Implement on-stack returns. · 9c7b6e1e
    Andreas Haas authored
    This is the implementation of crrev.com/c/766371 for arm.
    
    Original description:
    
    Add the ability to return (multiple) return values on the stack:
    
    - Extend stack frames with a new buffer region for return slots.
      This region is located at the end of a caller's frame such that
      its slots can be indexed as caller frame slots in a callee
      (located beyond its parameters) and assigned return values.
    - Adjust stack frame constructon and deconstruction accordingly.
    - Extend linkage computation to support register plus stack returns.
    - Reserve return slots in caller frame when respective calls occur.
    - Introduce and generate architecture instructions ('peek') for
      reading back results from return slots in the caller.
    - Aggressive tests.
    - Some minor clean-up.
    
    R=v8-arm-ports@googlegroups.com
    
    Change-Id: I7d61424a184d5778baf1d1270013f4e0c7ec68b4
    Reviewed-on: https://chromium-review.googlesource.com/836608Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50237}
    9c7b6e1e
Name
Last commit
Last update
..
code-generator-arm.cc Loading commit data...
instruction-codes-arm.h Loading commit data...
instruction-scheduler-arm.cc Loading commit data...
instruction-selector-arm.cc Loading commit data...
unwinding-info-writer-arm.cc Loading commit data...
unwinding-info-writer-arm.h Loading commit data...