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

Issue 1692173002: [wasm] Add support for a start function. (Closed)

Created:
4 years, 10 months ago by titzer
Modified:
4 years, 10 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] Add support for a start function. Add a section identifier for declaring a start function as an index into the function table. (This could also be done as a decl flag on the function, but don't feel strongly here, since we probably want to redo this when adding an import/export section.) The start function must accept no parameters. Its return value is currently ignored. R=binji@chromium.org,bradnelson@chromium.org BUG=chromium:575167 LOG=Y Committed: https://crrev.com/5c5c6e38e2e3cd98825eab027986280b4db006a5 Cr-Commit-Position: refs/heads/master@{#33978}

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -3 lines) Patch
M src/wasm/module-decoder.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 2 chunks +28 lines, -3 lines 0 comments Download
A test/mjsunit/wasm/start-function.js View 1 1 chunk +172 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/wasm-constants.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
titzer
4 years, 10 months ago (2016-02-12 12:32:11 UTC) #1
bradnelson
lgtm with suggestions https://codereview.chromium.org/1692173002/diff/1/test/mjsunit/wasm/start-function.js File test/mjsunit/wasm/start-function.js (right): https://codereview.chromium.org/1692173002/diff/1/test/mjsunit/wasm/start-function.js#newcode8 test/mjsunit/wasm/start-function.js:8: Maybe add a test that two ...
4 years, 10 months ago (2016-02-12 17:29:55 UTC) #2
titzer
On 2016/02/12 17:29:55, bradnelson wrote: > lgtm with suggestions > > https://codereview.chromium.org/1692173002/diff/1/test/mjsunit/wasm/start-function.js > File test/mjsunit/wasm/start-function.js ...
4 years, 10 months ago (2016-02-12 17:46:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1692173002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1692173002/40001
4 years, 10 months ago (2016-02-12 17:46:17 UTC) #6
dougc
Might it be necessary to bump up the kMaxModuleSectionCode in order to have the check ...
4 years, 10 months ago (2016-02-12 20:15:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1692173002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1692173002/60001
4 years, 10 months ago (2016-02-15 08:38:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/10948)
4 years, 10 months ago (2016-02-15 08:40:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1692173002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1692173002/60001
4 years, 10 months ago (2016-02-15 08:42:56 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-15 08:58:56 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-15 08:59:24 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5c5c6e38e2e3cd98825eab027986280b4db006a5
Cr-Commit-Position: refs/heads/master@{#33978}

Powered by Google App Engine
This is Rietveld 408576698