[fastcall] Fix UB when floating point test argument is OOB
This CL hardens a test to avoid static_cast-ing doubles that don't fit into the 32-bit integer range. Bug: chromium:1344965 Change-Id: I1f3a05800158cda9dc582bfa4427516932db9679 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3776337 Commit-Queue: Maya Lekova <mslekova@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#81843}
Showing
Please
register
or
sign in
to comment