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

Issue 933673002: Cleanup: Remove DCHECK_RESULT macro. (Closed)

Created:
5 years, 10 months ago by tfarina
Modified:
5 years, 10 months ago
Reviewers:
Benedikt Meurer
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Cleanup: Remove DCHECK_RESULT macro. BUG=None R=bmeurer@chromium.org LOG=N Committed: https://crrev.com/b00ea0f1254f0746260b1d2841610833cdf4bd09 Cr-Commit-Position: refs/heads/master@{#26733}

Patch Set 1 #

Total comments: 1

Patch Set 2 : USE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M src/base/logging.h View 2 chunks +0 lines, -3 lines 0 comments Download
M src/jsregexp.cc View 1 5 chunks +15 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
tfarina
PTAL! https://codereview.chromium.org/933673002/diff/1/src/base/logging.h File src/base/logging.h (left): https://codereview.chromium.org/933673002/diff/1/src/base/logging.h#oldcode165 src/base/logging.h:165: #define DCHECK_RESULT(expr) (expr) Is this patch correct, or ...
5 years, 10 months ago (2015-02-16 17:06:53 UTC) #1
Benedikt Meurer
This is wrong, because DCHECK_RESULT evaluates the expr even in release builds, while DCHECK does ...
5 years, 10 months ago (2015-02-16 18:53:25 UTC) #2
tfarina
On 2015/02/16 18:53:25, Benedikt Meurer wrote: > This is wrong, because DCHECK_RESULT evaluates the expr ...
5 years, 10 months ago (2015-02-16 20:31:27 UTC) #3
Benedikt Meurer
On 2015/02/16 at 20:31:27, tfarina wrote: > On 2015/02/16 18:53:25, Benedikt Meurer wrote: > > ...
5 years, 10 months ago (2015-02-17 05:34:28 UTC) #4
Jakob Kummerow
Why is > bool result = <whatever>; > DCHECK(result); > USE(result); better than > DCHECK_RESULT(<whatever>); ...
5 years, 10 months ago (2015-02-17 09:05:35 UTC) #5
tfarina
Done. PTAL Benedikt!
5 years, 10 months ago (2015-02-18 14:49:18 UTC) #6
Benedikt Meurer
lgtm
5 years, 10 months ago (2015-02-19 05:42:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933673002/20001
5 years, 10 months ago (2015-02-19 05:42:20 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-19 05:47:38 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 05:47:50 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b00ea0f1254f0746260b1d2841610833cdf4bd09
Cr-Commit-Position: refs/heads/master@{#26733}

Powered by Google App Engine
This is Rietveld 408576698