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

Issue 830303003: Subzero: Clean up a few areas. (Closed)

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

Description

Subzero: Clean up a few areas. 1. Use a reverse_range() adaptor for range-based reverse iteration through containers. 2. Remove the emitting of the commented llvm-mc command line. 3. Remove a few TODOs. 4. For commented-out declarations within a class T like this: // T(const T&) = delete; // T &operator=(const T &) = delete; Replace them with this: T(const T&) = default; T &operator=(const T &) = default; And try to keep them private where possible. 5. Make LivenessNode and TimerTreeNode into internal classes. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=7e571364bcc48d361b71c1402611873fb8544117

Patch Set 1 #

Patch Set 2 : Remove unneeded include file #

Total comments: 2

Patch Set 3 : Rewrite another loop using reverse_range() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -117 lines) Patch
M src/IceCfg.cpp View 2 chunks +1 line, -12 lines 0 comments Download
M src/IceCfgNode.cpp View 1 2 4 chunks +11 lines, -17 lines 0 comments Download
M src/IceDefs.h View 2 chunks +12 lines, -0 lines 0 comments Download
M src/IceGlobalContext.h View 3 chunks +1 line, -11 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/IceLiveness.h View 1 chunk +28 lines, -30 lines 0 comments Download
M src/IceOperand.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/IceRegAlloc.cpp View 2 chunks +3 lines, -5 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 3 chunks +2 lines, -4 lines 0 comments Download
M src/IceTimerTree.h View 2 chunks +22 lines, -24 lines 0 comments Download
M src/IceTimerTree.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
M src/IceTypes.h View 2 chunks +1 line, -3 lines 0 comments Download
M src/PNaClTranslator.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (1 generated)
Jim Stichnoth
5 years, 11 months ago (2015-01-09 18:40:15 UTC) #2
jvoung (off chromium)
lgtm https://codereview.chromium.org/830303003/diff/20001/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/830303003/diff/20001/src/IceCfgNode.cpp#newcode251 src/IceCfgNode.cpp:251: for (auto I = Pred->getInsts().rbegin(), E = Pred->getInsts().rend(); ...
5 years, 11 months ago (2015-01-09 19:10:43 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/830303003/diff/20001/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/830303003/diff/20001/src/IceCfgNode.cpp#newcode251 src/IceCfgNode.cpp:251: for (auto I = Pred->getInsts().rbegin(), E = Pred->getInsts().rend(); On ...
5 years, 11 months ago (2015-01-09 19:41:23 UTC) #4
Jim Stichnoth
5 years, 11 months ago (2015-01-09 19:43:32 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
7e571364bcc48d361b71c1402611873fb8544117 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698