Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Issue 2642383002: Fix CHECK_OP implementation in Release builds (Closed)

Created:
3 years, 11 months ago by Clemens Hammacher
Modified:
3 years, 11 months ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -8 lines) Patch
M src/base/logging.h View 1 3 chunks +14 lines, -8 lines 0 comments Download
M test/unittests/base/logging-unittest.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (11 generated)
Clemens Hammacher
3 years, 11 months ago (2017-01-20 15:21:46 UTC) #9
Igor Sheludko
lgtm
3 years, 11 months ago (2017-01-20 15:25:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2642383002/20001
3 years, 11 months ago (2017-01-20 15:27:20 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 15:29:00 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/4dcbe86e30c1ad60ed2af760b04fc21540a...

Powered by Google App Engine
This is Rietveld 408576698