operator==() must use the same type on both sides.
This fixes a compile error in C++20 with comparison operator reordering. Also does a little misc. cleanup to the adjacent code. Bug: chromium:1284275 Change-Id: I1999c4ef2e8a201d2f1270347fe12c33c961c011 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3830987 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/main@{#82497}
Showing
Please
register
or
sign in
to comment