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

Issue 1494753003: cleanup main (Closed)

Created:
5 years ago by rkotlerimgtec
Modified:
5 years ago
CC:
native-client-reviews_googlegroups.com, rich.fuhler_imgtec.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

cleanup main seems like these two lines are common to both paths and in fact the different classes allocated are derived from the same common base class so this makes sense to me. BUG= R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=43e8ab38ac6e7b865bbbc7a986fac24c53bace04

Patch Set 1 #

Patch Set 2 : eliminate uneeded include #

Total comments: 1

Patch Set 3 : changes suggested by stichnot #

Patch Set 4 : remove unneeded brackets in else clause #

Patch Set 5 : changes suggested by stichnot #

Total comments: 12

Patch Set 6 : Changes suggested by stichnot #

Total comments: 2

Patch Set 7 : else clause no longer needed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -26 lines) Patch
M src/IceBrowserCompileServer.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M src/IceBuildDefs.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M src/IceCompileServer.h View 1 2 3 4 5 3 chunks +9 lines, -6 lines 0 comments Download
M src/main.cpp View 1 2 3 4 5 6 1 chunk +9 lines, -17 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
rkotlerimgtec
5 years ago (2015-12-02 22:15:53 UTC) #3
rkotlerimgtec
5 years ago (2015-12-02 22:21:59 UTC) #4
Jim Stichnoth
https://codereview.chromium.org/1494753003/diff/20001/src/main.cpp File src/main.cpp (right): https://codereview.chromium.org/1494753003/diff/20001/src/main.cpp#newcode30 src/main.cpp:30: #else // !PNACL_BROWSER_TRANSLATOR We've generally tried to avoid conditional ...
5 years ago (2015-12-04 18:09:05 UTC) #5
rkotlerimgtec
One question I had is whether we need to have compiler as a parameter to ...
5 years ago (2015-12-05 05:42:58 UTC) #11
rkotlerimgtec
5 years ago (2015-12-05 06:00:19 UTC) #12
rkotlerimgtec
ok. i'll add that to the patch this weekend. On Fri, Dec 4, 2015 at ...
5 years ago (2015-12-05 06:55:48 UTC) #13
rkotlerimgtec
Removed the compiler parameter from several constructors related to CompilerServer becauase it's not needed.
5 years ago (2015-12-06 01:01:37 UTC) #14
Jim Stichnoth
https://codereview.chromium.org/1494753003/diff/170001/src/IceBrowserCompileServer.h File src/IceBrowserCompileServer.h (right): https://codereview.chromium.org/1494753003/diff/170001/src/IceBrowserCompileServer.h#newcode45 src/IceBrowserCompileServer.h:45: explicit BrowserCompileServer() Remove "explicit" for a zero-arg ctor. https://codereview.chromium.org/1494753003/diff/170001/src/IceBrowserCompileServer.h#newcode46 ...
5 years ago (2015-12-07 17:37:13 UTC) #15
rkotlerimgtec
https://codereview.chromium.org/1494753003/diff/170001/src/IceBrowserCompileServer.h File src/IceBrowserCompileServer.h (right): https://codereview.chromium.org/1494753003/diff/170001/src/IceBrowserCompileServer.h#newcode45 src/IceBrowserCompileServer.h:45: explicit BrowserCompileServer() On 2015/12/07 17:37:13, stichnot wrote: > Remove ...
5 years ago (2015-12-07 18:32:07 UTC) #17
Jim Stichnoth
https://codereview.chromium.org/1494753003/diff/210001/src/main.cpp File src/main.cpp (right): https://codereview.chromium.org/1494753003/diff/210001/src/main.cpp#newcode29 src/main.cpp:29: return Ice::CLCompileServer(argc, argv).runAndReturnErrorCode(); Use symmetric braces for if/else, i.e. ...
5 years ago (2015-12-07 21:00:55 UTC) #18
rkotlerimgtec
I realized that we don't even need an else clause. At least for LLVM rules, ...
5 years ago (2015-12-07 21:15:04 UTC) #19
Jim Stichnoth
lgtm
5 years ago (2015-12-07 21:51:49 UTC) #20
Jim Stichnoth
5 years ago (2015-12-07 22:31:05 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:230001) manually as
43e8ab38ac6e7b865bbbc7a986fac24c53bace04 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698