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

Issue 2014533003: [wasm] Refactor encoder.h to use a proper buffer and remove OldFunctions section. (Closed)

Created:
4 years, 7 months ago by titzer
Modified:
4 years, 7 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Refactor encoder.h to use a proper buffer and remove OldFunctions section. This removes the last use of the old_functions section, which greatly simplifies encoding. R=bradnelson@chromium.org,aseemgarg@chromium.org,mtrofin@chromium.org BUG= Committed: https://crrev.com/3412af0b40764be2d1095f16ef70bb3749b4d8e5 Cr-Commit-Position: refs/heads/master@{#36523}

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -725 lines) Patch
M src/wasm/asm-wasm-builder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/asm-wasm-builder.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M src/wasm/encoder.h View 4 chunks +97 lines, -21 lines 6 comments Download
M src/wasm/encoder.cc View 4 chunks +117 lines, -282 lines 1 comment Download
M src/wasm/leb-helper.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/wasm/module-decoder.cc View 5 chunks +5 lines, -81 lines 0 comments Download
M src/wasm/wasm-js.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M src/wasm/wasm-module.h View 3 chunks +0 lines, -5 lines 0 comments Download
M src/wasm/wasm-module.cc View 6 chunks +28 lines, -47 lines 0 comments Download
M src/wasm/wasm-result.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 7 chunks +13 lines, -14 lines 0 comments Download
M test/cctest/wasm/test-wasm-function-name-table.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 chunk +7 lines, -8 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 10 chunks +125 lines, -254 lines 1 comment Download

Messages

Total messages: 8 (2 generated)
titzer
4 years, 7 months ago (2016-05-25 14:05:41 UTC) #1
bradnelson
lgtm https://codereview.chromium.org/2014533003/diff/1/src/wasm/encoder.cc File src/wasm/encoder.cc (right): https://codereview.chromium.org/2014533003/diff/1/src/wasm/encoder.cc#newcode167 src/wasm/encoder.cc:167: locals_.Emit(*ptr); Yeah, yuck. https://codereview.chromium.org/2014533003/diff/1/src/wasm/encoder.h File src/wasm/encoder.h (right): https://codereview.chromium.org/2014533003/diff/1/src/wasm/encoder.h#newcode23 ...
4 years, 7 months ago (2016-05-25 14:51:23 UTC) #2
titzer
https://codereview.chromium.org/2014533003/diff/1/src/wasm/encoder.h File src/wasm/encoder.h (right): https://codereview.chromium.org/2014533003/diff/1/src/wasm/encoder.h#newcode23 src/wasm/encoder.h:23: class ZoneBuffer : public ZoneObject { On 2016/05/25 14:51:23, ...
4 years, 7 months ago (2016-05-25 15:40:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014533003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014533003/1
4 years, 7 months ago (2016-05-25 15:40:41 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-25 16:12:20 UTC) #6
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 16:13:58 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3412af0b40764be2d1095f16ef70bb3749b4d8e5
Cr-Commit-Position: refs/heads/master@{#36523}

Powered by Google App Engine
This is Rietveld 408576698