DescriptionFix CHECK_OP implementation in Release builds
In this particular case, we just did a (lhs)op(rhs), ignoring the case
that lhs and rhs might have different signedness.
This CL changes that to use the proper Cmp##op##Impl implementation,
which does two comparisions for signed-vs-unsigned checks, avoiding
compiler errors.
R=ishell@chromium.org
Review-Url: https://codereview.chromium.org/2642383002
Cr-Commit-Position: refs/heads/master@{#42566}
Committed: https://chromium.googlesource.com/v8/v8/+/4dcbe86e30c1ad60ed2af760b04fc21540ac2424
Patch Set 1 #Patch Set 2 : Add tests #
Dependent Patchsets: Messages
Total messages: 15 (11 generated)
|