[maglev] Fix over application return stack cleanup
Under over-application (passing more arguments into a function than its formal parameter count), we need to use the passed argc to clean up the stack, rather than the formal parameter count. Fix Maglev's Return node code to do the appropriate check and dynamic sized return. Bug: v8:7700 Change-Id: I36037d29e14323b336974d4b75b75f5702ce8a28 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3555767Reviewed-by: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Auto-Submit: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#79649}
Showing
Please
register
or
sign in
to comment