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

Issue 700263003: Rearrange emit vs emitIAS. Wait till function is done before dumping text. (Closed)

Created:
6 years, 1 month ago by jvoung (off chromium)
Modified:
6 years, 1 month ago
Reviewers:
Jim Stichnoth
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Rearrange emit vs emitIAS. Wait till function is done before dumping text. Eventually, I wanted to have a flag "UseELFWriter" like: https://codereview.chromium.org/678533005/diff/120001/src/IceCfg.cpp Where the emit OStream would not have text, and only have binary. This refactor hopefully means fewer places to check for a flag to disable the text version of IAS, and be able to write binary. Otherwise, there are some text labels for branches that are still being dumped out. BUG=none R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=0faec4c9e067b974ec1d3f65c71af3abaca143aa

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Patch Set 3 : remove comment... might end up using the iterator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -304 lines) Patch
M src/IceCfg.h View 2 chunks +2 lines, -3 lines 0 comments Download
M src/IceCfg.cpp View 1 2 chunks +27 lines, -11 lines 0 comments Download
M src/IceCfgNode.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceCfgNode.cpp View 1 3 chunks +44 lines, -30 lines 0 comments Download
M src/IceInstX8632.cpp View 58 chunks +0 lines, -171 lines 0 comments Download
M src/IceTranslator.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M src/assembler.h View 1 2 4 chunks +11 lines, -4 lines 0 comments Download
M src/assembler.cpp View 1 3 chunks +41 lines, -12 lines 0 comments Download
M src/assembler_ia32.h View 3 chunks +1 line, -12 lines 0 comments Download
M tests_lit/llvm2ice_tests/64bit.pnacl.ll View 9 chunks +9 lines, -9 lines 0 comments Download
M tests_lit/llvm2ice_tests/arith-opt.ll View 1 chunk +1 line, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/fp.pnacl.ll View 17 chunks +26 lines, -23 lines 0 comments Download
M tests_lit/llvm2ice_tests/ias-multi-reloc.ll View 3 chunks +3 lines, -4 lines 0 comments Download
M tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll View 14 chunks +16 lines, -16 lines 0 comments Download
M tests_lit/llvm2ice_tests/unreachable.ll View 1 chunk +1 line, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/vector-bitcast.ll View 4 chunks +4 lines, -4 lines 0 comments Download
M tests_lit/llvm2ice_tests/vector-cast.ll View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
jvoung (off chromium)
6 years, 1 month ago (2014-11-05 23:08:32 UTC) #2
Jim Stichnoth
https://codereview.chromium.org/700263003/diff/1/src/IceInstX8632.cpp File src/IceInstX8632.cpp (left): https://codereview.chromium.org/700263003/diff/1/src/IceInstX8632.cpp#oldcode345 src/IceInstX8632.cpp:345: namespace { Sweet! https://codereview.chromium.org/700263003/diff/1/src/assembler.cpp File src/assembler.cpp (right): https://codereview.chromium.org/700263003/diff/1/src/assembler.cpp#newcode144 src/assembler.cpp:144: ...
6 years, 1 month ago (2014-11-06 00:02:13 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/700263003/diff/1/src/assembler.cpp File src/assembler.cpp (right): https://codereview.chromium.org/700263003/diff/1/src/assembler.cpp#newcode144 src/assembler.cpp:144: AssemblerFixup *LastFixup = buffer_.GetLatestFixup(StartPosition); On 2014/11/06 00:02:13, stichnot wrote: ...
6 years, 1 month ago (2014-11-06 00:47:13 UTC) #4
Jim Stichnoth
lgtm https://codereview.chromium.org/700263003/diff/1/tests_lit/llvm2ice_tests/ias-multi-reloc.ll File tests_lit/llvm2ice_tests/ias-multi-reloc.ll (left): https://codereview.chromium.org/700263003/diff/1/tests_lit/llvm2ice_tests/ias-multi-reloc.ll#oldcode51 tests_lit/llvm2ice_tests/ias-multi-reloc.ll:51: %dummy.bc = bitcast void (i32)* @dummy to void ...
6 years, 1 month ago (2014-11-06 01:18:14 UTC) #5
jvoung (off chromium)
6 years, 1 month ago (2014-11-06 01:30:01 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
0faec4c9e067b974ec1d3f65c71af3abaca143aa (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698