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

Issue 613893002: Fix more MSVC warnings, courgette/ edition. (Closed)

Created:
6 years, 2 months ago by Peter Kasting
Modified:
6 years, 2 months ago
Reviewers:
dgarrett
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix more MSVC warnings, courgette/ edition. This is mostly about changing types and inserting casts so as to avoid implicit value truncations. BUG=81439 TEST=none Committed: https://crrev.com/8e3a26aaf2392d784ba6d5cbb696da926230a722 Cr-Commit-Position: refs/heads/master@{#298069}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Review comments #

Patch Set 3 : Remove dead code #

Patch Set 4 : static_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -62 lines) Patch
M courgette/adjustment_method_2.cc View 1 10 chunks +13 lines, -14 lines 0 comments Download
M courgette/assembly_program.h View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M courgette/assembly_program.cc View 1 2 4 chunks +5 lines, -18 lines 0 comments Download
M courgette/disassembler_elf_32.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M courgette/disassembler_elf_32_arm.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M courgette/disassembler_win32_x64.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M courgette/encoded_program.h View 3 chunks +3 lines, -2 lines 0 comments Download
M courgette/encoded_program.cc View 8 chunks +8 lines, -10 lines 0 comments Download
M courgette/streams.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (6 generated)
Peter Kasting
See explanatory comments below. https://codereview.chromium.org/613893002/diff/1/courgette/adjustment_method_2.cc File courgette/adjustment_method_2.cc (right): https://codereview.chromium.org/613893002/diff/1/courgette/adjustment_method_2.cc#newcode652 courgette/adjustment_method_2.cc:652: uint8 kind = 0; Changed ...
6 years, 2 months ago (2014-09-30 00:08:02 UTC) #2
dgarrett
Minus a couple of comments, I think this is a really good change. https://codereview.chromium.org/613893002/diff/1/courgette/adjustment_method_2.cc File ...
6 years, 2 months ago (2014-10-01 20:49:37 UTC) #3
Peter Kasting
https://codereview.chromium.org/613893002/diff/1/courgette/adjustment_method_2.cc File courgette/adjustment_method_2.cc (right): https://codereview.chromium.org/613893002/diff/1/courgette/adjustment_method_2.cc#newcode652 courgette/adjustment_method_2.cc:652: uint8 kind = 0; On 2014/10/01 20:49:37, dgarrett wrote: ...
6 years, 2 months ago (2014-10-01 22:12:05 UTC) #4
dgarrett
On 2014/10/01 22:12:05, Peter Kasting wrote: > https://codereview.chromium.org/613893002/diff/1/courgette/adjustment_method_2.cc > File courgette/adjustment_method_2.cc (right): > > https://codereview.chromium.org/613893002/diff/1/courgette/adjustment_method_2.cc#newcode652 ...
6 years, 2 months ago (2014-10-01 23:15:06 UTC) #5
Peter Kasting
On 2014/10/01 23:15:06, dgarrett wrote: > https://codereview.chromium.org/613893002/diff/1/courgette/encoded_program.cc#newcode569 > > courgette/encoded_program.cc:569: current_rva += static_cast<RVA>(count); > > ...
6 years, 2 months ago (2014-10-01 23:30:12 UTC) #6
dgarrett
On 2014/10/01 23:30:12, Peter Kasting wrote: > On 2014/10/01 23:15:06, dgarrett wrote: > > > ...
6 years, 2 months ago (2014-10-02 22:00:17 UTC) #7
Peter Kasting
On 2014/10/02 22:00:17, dgarrett wrote: > As long as values > 32 bit error out ...
6 years, 2 months ago (2014-10-02 22:03:50 UTC) #8
dgarrett
On 2014/10/02 22:03:50, Peter Kasting wrote: > On 2014/10/02 22:00:17, dgarrett wrote: > > As ...
6 years, 2 months ago (2014-10-02 22:12:32 UTC) #9
Peter Kasting
On 2014/10/02 22:12:32, dgarrett wrote: > I think this is good, but please feel free ...
6 years, 2 months ago (2014-10-02 22:13:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613893002/20001
6 years, 2 months ago (2014-10-02 22:14:52 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/15179)
6 years, 2 months ago (2014-10-02 22:25:20 UTC) #14
Peter Kasting
FYI, in the latest patch set I removed some dead code in assembly_program.* that was ...
6 years, 2 months ago (2014-10-02 22:41:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613893002/40001
6 years, 2 months ago (2014-10-02 22:43:25 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/15482)
6 years, 2 months ago (2014-10-03 00:40:02 UTC) #19
Peter Kasting
dgarrett: It looks like image_base() really isn't guaranteed to return a value that fits in ...
6 years, 2 months ago (2014-10-03 00:51:05 UTC) #20
dgarrett
On 2014/10/03 00:51:05, Peter Kasting wrote: > dgarrett: It looks like image_base() really isn't guaranteed ...
6 years, 2 months ago (2014-10-03 00:55:01 UTC) #21
Peter Kasting
On 2014/10/03 00:55:01, dgarrett wrote: > On 2014/10/03 00:51:05, Peter Kasting wrote: > > dgarrett: ...
6 years, 2 months ago (2014-10-03 01:03:46 UTC) #22
dgarrett
On 2014/10/03 01:03:46, Peter Kasting wrote: > On 2014/10/03 00:55:01, dgarrett wrote: > > On ...
6 years, 2 months ago (2014-10-03 01:09:11 UTC) #23
Will Harris
On 2014/10/03 01:09:11, dgarrett wrote: > On 2014/10/03 01:03:46, Peter Kasting wrote: > > On ...
6 years, 2 months ago (2014-10-03 01:51:08 UTC) #24
Peter Kasting
On 2014/10/03 01:51:08, Will Harris wrote: > Please do a simple cast and file a ...
6 years, 2 months ago (2014-10-03 06:42:30 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613893002/60001
6 years, 2 months ago (2014-10-03 17:49:01 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 3cc302758932b7e53b68fe4a52eb20335e65f682
6 years, 2 months ago (2014-10-03 18:52:38 UTC) #28
commit-bot: I haz the power
6 years, 2 months ago (2014-10-03 18:53:15 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8e3a26aaf2392d784ba6d5cbb696da926230a722
Cr-Commit-Position: refs/heads/master@{#298069}

Powered by Google App Engine
This is Rietveld 408576698