[debug] Fix extra arguments when restarting frame
Before the removal of the arguments adaptor frame, we could set {actual arguments count} = {formal parameter count} before restarting a live frame to avoid re-entering in the adaptor frame trampoline. This does not work anymore, since we now need the correct value of the {actual argument count} to be pushed in the callee frame to be used in its epilogue. This CL calls InvokeCall with the correct argument count and the kDontAdaptArgumentsSentinel to skip arguments adaptation. Bug: v8:11431, v8:11441 Change-Id: I3698891f07274e8ab95c82b9dd35f53bd78632d9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2675927Reviewed-by: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/master@{#72704}
Showing
Please
register
or
sign in
to comment