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

Issue 2454503005: [wasm] Support for restricted table imports. (Closed)

Created:
4 years, 1 month ago by titzer
Modified:
4 years, 1 month ago
Reviewers:
bradnelson, rossberg
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Support for restricted table imports. This CL implements basic table import functionality. Missing: growing of tables (WebAssembly.Grow) doesn't change dispatch tables Missing: allowing larger table imports than minimum size R=rossberg@chromium.org,bradnelson@chromium.org BUG=v8:5507 Committed: https://crrev.com/b7aff1ff647595b7e529b6df0c719d513473703a Cr-Commit-Position: refs/heads/master@{#40661}

Patch Set 1 #

Patch Set 2 : [wasm] Support for restricted table imports. #

Patch Set 3 : Fix signed/unsigned mismatch #

Patch Set 4 : Implemented .Set() #

Total comments: 18

Patch Set 5 : [wasm] Support for restricted table imports. #

Patch Set 6 : [wasm] Support for restricted table imports. #

Patch Set 7 : Fix test #

Patch Set 8 : Fix GC stress issue; tables weren't being reset correctly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+821 lines, -344 lines) Patch
M src/compiler/wasm-compiler.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 6 chunks +27 lines, -29 lines 0 comments Download
M src/wasm/module-decoder.cc View 1 2 3 4 7 chunks +28 lines, -46 lines 0 comments Download
M src/wasm/wasm-interpreter.cc View 3 chunks +2 lines, -8 lines 0 comments Download
M src/wasm/wasm-js.h View 1 2 3 1 chunk +15 lines, -6 lines 0 comments Download
M src/wasm/wasm-js.cc View 1 2 3 4 5 6 7 6 chunks +75 lines, -12 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 3 chunks +8 lines, -3 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 7 29 chunks +369 lines, -228 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M test/mjsunit/wasm/indirect-tables.js View 1 2 3 4 5 6 3 chunks +277 lines, -2 lines 0 comments Download
M test/mjsunit/wasm/wasm-module-builder.js View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 3 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 39 (27 generated)
titzer
PTAL. This is missing some core functionality, but might be worth landing in its incomplete ...
4 years, 1 month ago (2016-10-27 20:34:29 UTC) #4
titzer
On 2016/10/27 20:34:29, titzer wrote: > PTAL. This is missing some core functionality, but might ...
4 years, 1 month ago (2016-10-28 14:15:54 UTC) #14
bradnelson
lgtm w/questions https://codereview.chromium.org/2454503005/diff/60001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2454503005/diff/60001/src/compiler/wasm-compiler.cc#newcode2155 src/compiler/wasm-compiler.cc:2155: EnsureFunctionTableNodes(); Don't care for Ensure, but not ...
4 years, 1 month ago (2016-10-28 16:59:01 UTC) #19
titzer
https://codereview.chromium.org/2454503005/diff/60001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2454503005/diff/60001/src/compiler/wasm-compiler.cc#newcode2155 src/compiler/wasm-compiler.cc:2155: EnsureFunctionTableNodes(); On 2016/10/28 16:59:01, bradnelson wrote: > Don't care ...
4 years, 1 month ago (2016-10-28 17:29:09 UTC) #20
bradnelson
lgtm
4 years, 1 month ago (2016-10-28 17:31:24 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2454503005/120001
4 years, 1 month ago (2016-10-28 17:35:50 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-10-28 18:03:29 UTC) #25
Michael Achenbach
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2456193006/ by machenbach@chromium.org. ...
4 years, 1 month ago (2016-10-28 18:58:23 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2454503005/140001
4 years, 1 month ago (2016-10-29 21:04:13 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-10-29 21:07:07 UTC) #35
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/404e215458df2676f21017cec00a7ae51fb163c1 Cr-Commit-Position: refs/heads/master@{#40652}
4 years, 1 month ago (2016-11-17 22:17:05 UTC) #37
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:17:35 UTC) #39
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b7aff1ff647595b7e529b6df0c719d513473703a
Cr-Commit-Position: refs/heads/master@{#40661}

Powered by Google App Engine
This is Rietveld 408576698