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

Issue 2522953002: [wasm] Move asm.js offset table to compiled module (Closed)

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

Description

[wasm] Move asm.js offset table to compiled module Before, the encoded variant was stored in the compiled module, and the decoded one in the debug info (per instance). The decoded table was a FixedArray of ByteArrays. Now, also the decoded table is a flat ByteArray, and it encodes whether it is encoded or decoded. This saves memory and allows to store encoded and decoded variant in the same field. The table is automatically decoded on the first use. This CL also removes some unused and unimplemented methods from WasmDebugInfo (probably merge artifacts). That class is now pretty much empty, but we might still need it for breakpoint support. R=titzer@chromium.org, ahaas@chromium.org Committed: https://crrev.com/916a53376aa2f660eda5b434abccce09bfacd0c0 Cr-Commit-Position: refs/heads/master@{#41316}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Andreas' comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -142 lines) Patch
M src/frames.cc View 1 chunk +6 lines, -3 lines 0 comments Download
M src/messages.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M src/wasm/wasm-debug.cc View 2 chunks +0 lines, -85 lines 0 comments Download
M src/wasm/wasm-module.h View 1 2 2 chunks +0 lines, -8 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 4 chunks +10 lines, -21 lines 0 comments Download
M src/wasm/wasm-module-builder.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 2 3 chunks +7 lines, -23 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 2 2 chunks +95 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
Clemens Hammacher
4 years, 1 month ago (2016-11-22 19:54:34 UTC) #6
ahaas
https://codereview.chromium.org/2522953002/diff/1/src/wasm/wasm-module-builder.cc File src/wasm/wasm-module-builder.cc (right): https://codereview.chromium.org/2522953002/diff/1/src/wasm/wasm-module-builder.cc#newcode538 src/wasm/wasm-module-builder.cc:538: buffer.write_u8(0); nit: I think it would be good to ...
4 years ago (2016-11-23 10:08:54 UTC) #7
Clemens Hammacher
https://codereview.chromium.org/2522953002/diff/1/src/wasm/wasm-module-builder.cc File src/wasm/wasm-module-builder.cc (right): https://codereview.chromium.org/2522953002/diff/1/src/wasm/wasm-module-builder.cc#newcode538 src/wasm/wasm-module-builder.cc:538: buffer.write_u8(0); On 2016/11/23 at 10:08:54, ahaas wrote: > nit: ...
4 years ago (2016-11-23 12:24:36 UTC) #10
Clemens Hammacher
Ping
4 years ago (2016-11-24 13:46:33 UTC) #13
ahaas
On 2016/11/24 at 13:46:33, clemensh wrote: > Ping lgtm
4 years ago (2016-11-24 14:14:52 UTC) #14
titzer
On 2016/11/24 14:14:52, ahaas wrote: > On 2016/11/24 at 13:46:33, clemensh wrote: > > Ping ...
4 years ago (2016-11-28 13:02:44 UTC) #19
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/2522953002/40001
4 years ago (2016-11-28 13:03:24 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-28 13:05:04 UTC) #24
commit-bot: I haz the power
4 years ago (2016-11-28 13:05:35 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/916a53376aa2f660eda5b434abccce09bfacd0c0
Cr-Commit-Position: refs/heads/master@{#41316}

Powered by Google App Engine
This is Rietveld 408576698