• Jakob Gruber's avatar
    Move knowledge of frame stack height into the FrameStateDescriptor · 9b24f6ec
    Jakob Gruber authored
    When serializing frame states into translations (later used by
    deopts), we pass certain values, depending on the frame kind, to be
    serialized as the frame height.
    
    This CL moves the calculation of this height value into the
    FrameStateDescriptor. In a follow-up, we may want to simplify the way
    these height values are passed and processed by deopts.
    
    The motivation behind this is to simplify calculation of unoptimized
    stack frame sizes during compilation.
    
    Bug: v8:9534
    Change-Id: I20d2b57a42cea0c238b9c887dba0280f6aad76de
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1728609
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63085}
    9b24f6ec
instruction.h 56.3 KB