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

Issue 883673005: Fix PNaCl bitcode reader to release global variables to emitter. (Closed)

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

Description

Fix PNaCl bitcode reader to release global variables to emitter. Fixes the PNaCl bitcode reader to maintain two lists of global variables. The first, VariableDeclarations, is the list of variable declarations to be lowered by the emitter. The second, ValueIDConstants, is the corresponding constant symbol to use when references to the corresponding global variable declaration is referenced when processing functions. BUG=None R=jvoung@chromium.org, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=6ca7d2b6bfa9e4bca707240208bba6612d58719d

Patch Set 1 #

Patch Set 2 : Merge master. #

Patch Set 3 : Fix nits. #

Total comments: 33

Patch Set 4 : Fix issues in patch set 3. #

Total comments: 19
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -109 lines) Patch
M src/PNaClTranslator.cpp View 1 2 3 10 chunks +133 lines, -109 lines 19 comments Download

Messages

Total messages: 9 (1 generated)
Karl
5 years, 10 months ago (2015-02-09 22:54:35 UTC) #2
Jim Stichnoth
Thanks! Also, please "make format". https://codereview.chromium.org/883673005/diff/40001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/883673005/diff/40001/src/PNaClTranslator.cpp#newcode265 src/PNaClTranslator.cpp:265: assert(VariableDeclarations.get()); You should be ...
5 years, 10 months ago (2015-02-10 04:01:05 UTC) #3
Karl
https://codereview.chromium.org/883673005/diff/40001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/883673005/diff/40001/src/PNaClTranslator.cpp#newcode265 src/PNaClTranslator.cpp:265: assert(VariableDeclarations.get()); On 2015/02/10 04:01:04, stichnot wrote: > You should ...
5 years, 10 months ago (2015-02-10 17:19:27 UTC) #4
Jim Stichnoth
otherwise lgtm https://codereview.chromium.org/883673005/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/883673005/diff/60001/src/PNaClTranslator.cpp#newcode348 src/PNaClTranslator.cpp:348: std::unique_ptr<Ice::VariableDeclarationList> &&getGlobalVariables() { Does this actually have ...
5 years, 10 months ago (2015-02-10 17:47:11 UTC) #5
jvoung (off chromium)
lgtm https://codereview.chromium.org/883673005/diff/40001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/883673005/diff/40001/src/PNaClTranslator.cpp#newcode473 src/PNaClTranslator.cpp:473: Func->isProto()); Thanks for simplifying the IsExternal a bit. ...
5 years, 10 months ago (2015-02-10 18:24:59 UTC) #6
Jim Stichnoth
https://codereview.chromium.org/883673005/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/883673005/diff/60001/src/PNaClTranslator.cpp#newcode351 src/PNaClTranslator.cpp:351: assert(!VariableDeclarations || On 2015/02/10 18:24:58, jvoung wrote: > Why ...
5 years, 10 months ago (2015-02-10 18:29:01 UTC) #7
Karl
https://codereview.chromium.org/883673005/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/883673005/diff/60001/src/PNaClTranslator.cpp#newcode348 src/PNaClTranslator.cpp:348: std::unique_ptr<Ice::VariableDeclarationList> &&getGlobalVariables() { On 2015/02/10 17:47:11, stichnot wrote: > ...
5 years, 10 months ago (2015-02-10 19:30:23 UTC) #8
Karl
5 years, 10 months ago (2015-02-10 22:43:52 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
6ca7d2b6bfa9e4bca707240208bba6612d58719d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698