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

Issue 2340623003: [wasm] Strongly typed compiled module (Closed)

Created:
4 years, 3 months ago by Mircea Trofin
Modified:
4 years, 2 months ago
Reviewers:
bradnelson
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Strongly typed compiled module First stab at strongly typing the wasm compiled module FixedArray. The goal is to improve maintainability of the data structures living on the JS heap. My goal is to do so just for the first level, since we plan to eventually avoid copying the metadata bits that are currently copied from the decoded structures (export/import metadata, etc). Subsequent CLs will try and consolidate internal functions working off the compiled module as members, and evaluate what the actual interface with the rest of the world of this type should be - we may be able to completely move it in the cc file, for instance. BUG= Committed: https://crrev.com/6e03b72d9d7c0d69a4222981687757ffb0737236 Committed: https://crrev.com/7369469a0f6f6b5c911eb4991fd3573be0c32773 Cr-Original-Commit-Position: refs/heads/master@{#39890} Cr-Commit-Position: refs/heads/master@{#39894}

Patch Set 1 #

Total comments: 2

Patch Set 2 : xmacro #

Patch Set 3 : xmacro #

Patch Set 4 : const #

Patch Set 5 : after 0xC #

Patch Set 6 : after 0xC #

Patch Set 7 : after 0xC #

Patch Set 8 : Fix build failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -208 lines) Patch
M src/wasm/wasm-module.h View 1 2 3 4 5 6 7 3 chunks +123 lines, -2 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 7 33 chunks +132 lines, -206 lines 0 comments Download

Messages

Total messages: 56 (42 generated)
Mircea Trofin
4 years, 3 months ago (2016-09-13 23:45:00 UTC) #5
bradnelson
https://codereview.chromium.org/2340623003/diff/1/src/wasm/wasm-module.h File src/wasm/wasm-module.h (right): https://codereview.chromium.org/2340623003/diff/1/src/wasm/wasm-module.h#newcode402 src/wasm/wasm-module.h:402: WCM_PROPERTY(0, FixedArray, functions); Use x-macros as discussed.
4 years, 3 months ago (2016-09-13 23:54:49 UTC) #8
Mircea Trofin
https://codereview.chromium.org/2340623003/diff/1/src/wasm/wasm-module.h File src/wasm/wasm-module.h (right): https://codereview.chromium.org/2340623003/diff/1/src/wasm/wasm-module.h#newcode402 src/wasm/wasm-module.h:402: WCM_PROPERTY(0, FixedArray, functions); On 2016/09/13 23:54:49, bradnelson wrote: > ...
4 years, 3 months ago (2016-09-14 16:06:28 UTC) #15
bradnelson
lgtm
4 years, 3 months ago (2016-09-18 22:16:42 UTC) #22
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/2340623003/80001
4 years, 2 months ago (2016-09-29 21:25:14 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/5322)
4 years, 2 months ago (2016-09-29 21:30:25 UTC) #27
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/2340623003/120001
4 years, 2 months ago (2016-09-29 22:12:06 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-09-29 22:14:28 UTC) #40
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/6e03b72d9d7c0d69a4222981687757ffb0737236 Cr-Commit-Position: refs/heads/master@{#39890}
4 years, 2 months ago (2016-09-29 22:15:04 UTC) #42
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/2340623003/140001
4 years, 2 months ago (2016-09-29 23:24:44 UTC) #46
Mircea Trofin
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2383623003/ by mtrofin@chromium.org. ...
4 years, 2 months ago (2016-09-29 23:26:32 UTC) #49
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/2340623003/160001
4 years, 2 months ago (2016-09-29 23:30:04 UTC) #52
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 2 months ago (2016-09-30 00:01:41 UTC) #54
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 00:02:02 UTC) #56
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7369469a0f6f6b5c911eb4991fd3573be0c32773
Cr-Commit-Position: refs/heads/master@{#39894}

Powered by Google App Engine
This is Rietveld 408576698