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

Issue 619893002: Subzero: Auto-awesome iterators. (Closed)

Created:
6 years, 2 months ago by Jim Stichnoth
Modified:
6 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Subzero: Auto-awesome iterators. Use C++11 'auto' where practical to make iteration more concise. Use C++11 range-based for loops where possible. BUG= none R=jfb@chromium.org, kschimpf@google.com Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=f44f371b7f3fab5683e6781873d71987e44fea2f

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make some iterator element names more uniform #

Total comments: 12

Patch Set 3 : Dial back the use of auto #

Patch Set 4 : Add TODOs for rbegin/rend #

Total comments: 2

Patch Set 5 : Use AsmCodeByte instead of uint8_t #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -349 lines) Patch
M src/IceCfg.cpp View 1 2 3 4 14 chunks +38 lines, -73 lines 0 comments Download
M src/IceCfgNode.cpp View 1 2 3 14 chunks +71 lines, -101 lines 0 comments Download
M src/IceConverter.cpp View 1 2 4 chunks +11 lines, -17 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 2 3 chunks +4 lines, -8 lines 0 comments Download
M src/IceInst.cpp View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M src/IceIntrinsics.h View 1 chunk +1 line, -1 line 0 comments Download
M src/IceIntrinsics.cpp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M src/IceOperand.cpp View 1 2 6 chunks +21 lines, -28 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 2 12 chunks +31 lines, -63 lines 0 comments Download
M src/IceTargetLowering.h View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M src/IceTargetLoweringX8632.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 3 4 9 chunks +10 lines, -27 lines 0 comments Download
M src/IceTimerTree.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/IceTranslator.cpp View 1 2 2 chunks +4 lines, -10 lines 0 comments Download
M src/IceTypeConverter.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/PNaClTranslator.cpp View 1 2 3 chunks +3 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
Jim Stichnoth
https://codereview.chromium.org/619893002/diff/1/src/IceCfg.cpp File src/IceCfg.cpp (left): https://codereview.chromium.org/619893002/diff/1/src/IceCfg.cpp#oldcode221 src/IceCfg.cpp:221: if (Variable *Var = *I) This test was left ...
6 years, 2 months ago (2014-10-01 13:15:27 UTC) #2
Karl
lgtm https://codereview.chromium.org/619893002/diff/20001/src/IceConverter.cpp File src/IceConverter.cpp (right): https://codereview.chromium.org/619893002/diff/20001/src/IceConverter.cpp#newcode84 src/IceConverter.cpp:84: for (auto BBI = F->begin(), BBE = F->end(); ...
6 years, 2 months ago (2014-10-01 15:54:08 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/619893002/diff/20001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/619893002/diff/20001/src/IceRegAlloc.cpp#newcode390 src/IceRegAlloc.cpp:390: for (auto I = Unhandled.begin(), E = Unhandled.end(); could ...
6 years, 2 months ago (2014-10-01 16:10:53 UTC) #4
JF
https://codereview.chromium.org/619893002/diff/20001/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/619893002/diff/20001/src/IceCfg.cpp#newcode85 src/IceCfg.cpp:85: for (auto &Node : Nodes) for (Node *N : ...
6 years, 2 months ago (2014-10-01 16:21:01 UTC) #5
Jim Stichnoth
https://codereview.chromium.org/619893002/diff/20001/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/619893002/diff/20001/src/IceCfg.cpp#newcode85 src/IceCfg.cpp:85: for (auto &Node : Nodes) On 2014/10/01 16:21:00, JF ...
6 years, 2 months ago (2014-10-01 19:15:08 UTC) #6
Karl
lgtm
6 years, 2 months ago (2014-10-01 19:44:51 UTC) #7
JF
lgtm https://codereview.chromium.org/619893002/diff/60001/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/619893002/diff/60001/src/IceCfg.cpp#newcode338 src/IceCfg.cpp:338: for (uint8_t I : getTarget()->getNonExecBundlePadding()) typedef for bundle ...
6 years, 2 months ago (2014-10-01 20:42:21 UTC) #8
Karl
lgtm
6 years, 2 months ago (2014-10-01 21:02:02 UTC) #9
Jim Stichnoth
https://codereview.chromium.org/619893002/diff/60001/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/619893002/diff/60001/src/IceCfg.cpp#newcode338 src/IceCfg.cpp:338: for (uint8_t I : getTarget()->getNonExecBundlePadding()) On 2014/10/01 20:42:21, JF ...
6 years, 2 months ago (2014-10-01 21:05:33 UTC) #10
Jim Stichnoth
6 years, 2 months ago (2014-10-01 21:06:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
f44f371b7f3fab5683e6781873d71987e44fea2f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698