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

Issue 2502083002: Restructure ArithmeticPromotion to support alternate promotions (Closed)

Created:
4 years, 1 month ago by jschuh
Modified:
4 years, 1 month ago
Reviewers:
Tom Sepez
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Restructure ArithmeticPromotion to support alternate promotions BUG=665584 Committed: https://crrev.com/a1c1b90e415cd5fa064911e1cf4ac70ac8cb20a4 Cr-Commit-Position: refs/heads/master@{#432408}

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -27 lines) Patch
M base/numerics/safe_math.h View 2 chunks +13 lines, -13 lines 2 comments Download
M base/numerics/safe_math_impl.h View 1 6 chunks +96 lines, -14 lines 2 comments Download

Messages

Total messages: 20 (7 generated)
jschuh
Okay, this is actually the last CL gating the bitshift patch.
4 years, 1 month ago (2016-11-15 21:50:34 UTC) #2
Tom Sepez
https://codereview.chromium.org/2502083002/diff/20001/base/numerics/safe_math.h File base/numerics/safe_math.h (right): https://codereview.chromium.org/2502083002/diff/20001/base/numerics/safe_math.h#newcode240 base/numerics/safe_math.h:240: BASE_NUMERIC_ARITHMETIC_OPERATORS(Mul, *, *=, MAX_EXPONENT_PROMOTION) Shouldn't multiplicaton be BIG_ENOUGH_PROMOTION?
4 years, 1 month ago (2016-11-15 22:31:17 UTC) #3
Tom Sepez
https://codereview.chromium.org/2502083002/diff/20001/base/numerics/safe_math_impl.h File base/numerics/safe_math_impl.h (right): https://codereview.chromium.org/2502083002/diff/20001/base/numerics/safe_math_impl.h#newcode131 base/numerics/safe_math_impl.h:131: LEFT_PROMOTION, // Use the type of the left-hand argument. ...
4 years, 1 month ago (2016-11-15 22:32:13 UTC) #4
jschuh
https://codereview.chromium.org/2502083002/diff/20001/base/numerics/safe_math.h File base/numerics/safe_math.h (right): https://codereview.chromium.org/2502083002/diff/20001/base/numerics/safe_math.h#newcode240 base/numerics/safe_math.h:240: BASE_NUMERIC_ARITHMETIC_OPERATORS(Mul, *, *=, MAX_EXPONENT_PROMOTION) On 2016/11/15 22:31:17, Tom Sepez ...
4 years, 1 month ago (2016-11-15 22:38:49 UTC) #5
Tom Sepez
LGTM, but still got red bots.
4 years, 1 month ago (2016-11-15 22:51:45 UTC) #6
jschuh
On 2016/11/15 22:51:45, Tom Sepez wrote: > LGTM, but still got red bots. Failed to ...
4 years, 1 month ago (2016-11-15 22:58:33 UTC) #7
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/2502083002/20001
4 years, 1 month ago (2016-11-15 22:59:23 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/261281)
4 years, 1 month ago (2016-11-15 23:27:37 UTC) #11
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/2502083002/20001
4 years, 1 month ago (2016-11-16 00:56:15 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/68314)
4 years, 1 month ago (2016-11-16 01:22:44 UTC) #15
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/2502083002/20001
4 years, 1 month ago (2016-11-16 02:40:13 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-16 06:45:34 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 06:48:48 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a1c1b90e415cd5fa064911e1cf4ac70ac8cb20a4
Cr-Commit-Position: refs/heads/master@{#432408}

Powered by Google App Engine
This is Rietveld 408576698