• Jakob Gruber's avatar
    [compiler] Consider pushed arguments in stack check offset · 2cd24eba
    Jakob Gruber authored
    Function calls can push arguments onto the stack. The consumed stack
    slots are not considered by the function-entry stack check, since
    initial frame setup only reserves space for local slots, not call
    arguments. This CL adds such logic by tracking the maximum pushed
    argument count during instruction selection, and adding these slots to
    the (existing) stack check offset logic in code generation.
    
    Bug: chromium:1030167
    Change-Id: I26a9407cf38009839b1dda2ff0c8ec297c15ed8d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2002540
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65814}
    2cd24eba
Name
Last commit
Last update
..
instruction-selector-unittest.cc Loading commit data...
instruction-selector-unittest.h Loading commit data...
instruction-sequence-unittest.cc Loading commit data...
instruction-sequence-unittest.h Loading commit data...
instruction-unittest.cc Loading commit data...