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

Issue 2299873002: [wasm] consolidate wasm and asm.js module compilation sequence (Closed)

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

Description

[wasm] consolidate wasm and asm.js module compilation sequence This unblocks avoiding the separate code template. In the upcoming CL doing away with code templates, We need to track instances through the module object, which needs to be separate from the compiled module data, which is then shared with the first instance. This CL ensures we have the object available in the asm.js scenario, too. Note that this CL also unifies the error messaging when module decoding fails. BUG=v8:5316 Committed: https://crrev.com/5f8a6ec4b13a054033bd42f8998f2fbb2e7da9c7 Cr-Commit-Position: refs/heads/master@{#39097}

Patch Set 1 #

Total comments: 4

Patch Set 2 : [wasm] consolidate wasm and asm.js module compilation sequence #

Patch Set 3 : [wasm] consolidate wasm and asm.js module compilation sequence #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -54 lines) Patch
M src/api.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/asmjs/asm-js.cc View 1 3 chunks +6 lines, -27 lines 0 comments Download
M src/runtime/runtime-test.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/wasm/wasm-js.cc View 1 1 chunk +3 lines, -14 lines 0 comments Download
M src/wasm/wasm-module.h View 1 1 chunk +8 lines, -1 line 0 comments Download
M src/wasm/wasm-module.cc View 1 2 1 chunk +40 lines, -7 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (22 generated)
Mircea Trofin
4 years, 3 months ago (2016-09-01 03:31:24 UTC) #5
bradnelson
https://codereview.chromium.org/2299873002/diff/1/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (left): https://codereview.chromium.org/2299873002/diff/1/src/wasm/wasm-js.cc#oldcode353 src/wasm/wasm-js.cc:353: if (!FLAG_expose_wasm) { I don't think you want to ...
4 years, 3 months ago (2016-09-01 03:48:31 UTC) #8
Mircea Trofin
https://codereview.chromium.org/2299873002/diff/1/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (left): https://codereview.chromium.org/2299873002/diff/1/src/wasm/wasm-js.cc#oldcode353 src/wasm/wasm-js.cc:353: if (!FLAG_expose_wasm) { On 2016/09/01 03:48:31, bradnelson wrote: > ...
4 years, 3 months ago (2016-09-01 04:36:18 UTC) #12
bradnelson
lgtm
4 years, 3 months ago (2016-09-01 15:54:42 UTC) #24
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/2299873002/60001
4 years, 3 months ago (2016-09-01 15:54:51 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-09-01 16:47:24 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 16:47:51 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5f8a6ec4b13a054033bd42f8998f2fbb2e7da9c7
Cr-Commit-Position: refs/heads/master@{#39097}

Powered by Google App Engine
This is Rietveld 408576698