• Ng Zhi An's avatar
    [liftoff] Change PatchPrepareStackFrame to use bytes · 45ee6f40
    Ng Zhi An authored
    Calculate the number of bytes of the stack frame used in
    PatchPrepareStackFrame using the size of the spill instead of the number
    of slots.
    
    We only need the number of bytes spilled (without adding the number of
    locals) because whenever we spill, we already track the largest offset,
    with RecordUsedSpillSlot. GetTotalFrameSlotCount can also be changed to
    remove the num_locals, in a future patch.
    
    Change-Id: I08fe3e81eaebf5f2cf1e11292645663474483447
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1945944
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65303}
    45ee6f40
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...
DEPS Loading commit data...
liftoff-assembler-defs.h Loading commit data...
liftoff-assembler.cc Loading commit data...
liftoff-assembler.h Loading commit data...
liftoff-compiler.cc Loading commit data...
liftoff-compiler.h Loading commit data...
liftoff-register.h Loading commit data...