[CSA] Fix CSA::PopAndReturn tests
These tests were incorrectly declaring the number of parameters the generated function would take by omitting the receiver and PopAndReturnVariable was accessing the wrong parameter. Also updated a passed in parameter to not match the constant that was being returned in case that led to the test passing accidentally. Bug: v8:10933 Change-Id: Ia354e4e30b464a333039ab6bc54198acd16a4789 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2434334Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#70157}
Showing
Please
register
or
sign in
to comment