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

Issue 1763433002: [wasm] Rework encoding of local declarations. (Closed)

Created:
4 years, 9 months ago by titzer
Modified:
4 years, 9 months ago
Reviewers:
bradnelson, binji
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] Rework encoding of local declarations. Local declarations were previously encoded as an optional set of 4 uint16 values as part of the function declaration. This CL implements the current design of moving these declarations to a list of pairs of (type, count) that is part of the body. R=bradnelson@chromium.org,binji@chromium.org BUG= Committed: https://crrev.com/835c5e6beb792b01b1a75a895dc2d72c61f9d1f0 Cr-Commit-Position: refs/heads/master@{#34564}

Patch Set 1 #

Total comments: 20

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+980 lines, -932 lines) Patch
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -14 lines 0 comments Download
M src/wasm/ast-decoder.h View 1 2 3 4 5 3 chunks +24 lines, -69 lines 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 4 5 30 chunks +215 lines, -168 lines 0 comments Download
M src/wasm/decoder.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/encoder.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M src/wasm/encoder.cc View 1 2 5 chunks +19 lines, -10 lines 0 comments Download
M src/wasm/module-decoder.cc View 1 2 3 4 5 2 chunks +6 lines, -18 lines 0 comments Download
M src/wasm/wasm-macro-gen.h View 1 2 3 4 5 4 chunks +116 lines, -37 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 3 4 5 6 7 8 5 chunks +14 lines, -13 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 7 chunks +17 lines, -40 lines 0 comments Download
M test/mjsunit/wasm/test-wasm-module-builder.js View 1 2 3 4 5 6 7 8 9 1 chunk +23 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/verify-function-simple.js View 2 chunks +2 lines, -8 lines 0 comments Download
M test/mjsunit/wasm/wasm-constants.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/wasm-module-builder.js View 1 2 3 4 5 6 7 8 1 chunk +30 lines, -9 lines 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 2 3 4 5 50 chunks +480 lines, -489 lines 0 comments Download
M test/unittests/wasm/encoder-unittest.cc View 1 2 2 chunks +0 lines, -12 lines 0 comments Download
M test/unittests/wasm/loop-assignment-analysis-unittest.cc View 1 2 3 9 chunks +12 lines, -26 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 2 3 4 2 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
titzer
4 years, 9 months ago (2016-03-02 21:28:15 UTC) #1
bradnelson
lgtm https://codereview.chromium.org/1763433002/diff/1/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1763433002/diff/1/src/wasm/ast-decoder.cc#newcode450 src/wasm/ast-decoder.cc:450: local_type_vec_.insert(local_type_vec_.end(), Shame how big this gonna be, but ...
4 years, 9 months ago (2016-03-02 21:51:15 UTC) #2
titzer
https://codereview.chromium.org/1763433002/diff/1/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/1763433002/diff/1/src/wasm/ast-decoder.cc#newcode450 src/wasm/ast-decoder.cc:450: local_type_vec_.insert(local_type_vec_.end(), On 2016/03/02 21:51:15, bradnelson wrote: > Shame how ...
4 years, 9 months ago (2016-03-02 22:43:41 UTC) #3
binji
lgtm https://codereview.chromium.org/1763433002/diff/1/src/wasm/wasm-macro-gen.h File src/wasm/wasm-macro-gen.h (right): https://codereview.chromium.org/1763433002/diff/1/src/wasm/wasm-macro-gen.h#newcode321 src/wasm/wasm-macro-gen.h:321: byte* buffer = new byte[5 + 6 * ...
4 years, 9 months ago (2016-03-02 22:51:38 UTC) #4
titzer
https://codereview.chromium.org/1763433002/diff/1/src/wasm/wasm-macro-gen.h File src/wasm/wasm-macro-gen.h (right): https://codereview.chromium.org/1763433002/diff/1/src/wasm/wasm-macro-gen.h#newcode321 src/wasm/wasm-macro-gen.h:321: byte* buffer = new byte[5 + 6 * local_decls.size() ...
4 years, 9 months ago (2016-03-02 23:03:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763433002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763433002/180001
4 years, 9 months ago (2016-03-07 20:52:10 UTC) #8
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 9 months ago (2016-03-07 21:04:14 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-07 21:05:24 UTC) #11
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/835c5e6beb792b01b1a75a895dc2d72c61f9d1f0
Cr-Commit-Position: refs/heads/master@{#34564}

Powered by Google App Engine
This is Rietveld 408576698