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

Issue 2410953003: [wasm] Fix decoding of shared global index space (Closed)

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

Description

Imported and defined globals share an index space, but previously the decoder clobbered the imported global indices with the defined globals. BUG=none Committed: https://crrev.com/9b55c0769857d15c722f5d599bdc1c5828bfed99 Cr-Commit-Position: refs/heads/master@{#40230}

Patch Set 1 #

Patch Set 2 : with test #

Total comments: 2

Patch Set 3 : review comment #

Total comments: 1

Patch Set 4 : Increase allocation limit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -3 lines) Patch
M src/wasm/module-decoder.cc View 1 2 3 3 chunks +12 lines, -3 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/globals.js View 1 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (17 generated)
Derek Schuff
4 years, 2 months ago (2016-10-12 00:58:39 UTC) #3
titzer
lgtm with nit https://codereview.chromium.org/2410953003/diff/20001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2410953003/diff/20001/src/wasm/wasm-module.cc#newcode1549 src/wasm/wasm-module.cc:1549: // TODO: These should be runtime ...
4 years, 2 months ago (2016-10-12 04:56:29 UTC) #4
Derek Schuff
https://codereview.chromium.org/2410953003/diff/20001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2410953003/diff/20001/src/wasm/wasm-module.cc#newcode1549 src/wasm/wasm-module.cc:1549: // TODO: These should be runtime errors and not ...
4 years, 2 months ago (2016-10-12 05:09:25 UTC) #5
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/2410953003/40001
4 years, 2 months ago (2016-10-12 05:09:38 UTC) #8
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/5978) v8_linux64_gyp_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 2 months ago (2016-10-12 05:24:09 UTC) #10
Derek Schuff
https://codereview.chromium.org/2410953003/diff/40001/src/wasm/module-decoder.cc File src/wasm/module-decoder.cc (right): https://codereview.chromium.org/2410953003/diff/40001/src/wasm/module-decoder.cc#newcode401 src/wasm/module-decoder.cc:401: if (!IsWithinLimit(kMaxReserve, globals_count, imported_globals)) { OK, so I was ...
4 years, 2 months ago (2016-10-12 05:35:20 UTC) #11
Derek Schuff
On 2016/10/12 05:35:20, Derek Schuff wrote: > https://codereview.chromium.org/2410953003/diff/40001/src/wasm/module-decoder.cc > File src/wasm/module-decoder.cc (right): > > https://codereview.chromium.org/2410953003/diff/40001/src/wasm/module-decoder.cc#newcode401 ...
4 years, 2 months ago (2016-10-12 05:46:30 UTC) #14
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/2410953003/60001
4 years, 2 months ago (2016-10-12 15:17:25 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-12 15:19:28 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 15:19:50 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9b55c0769857d15c722f5d599bdc1c5828bfed99
Cr-Commit-Position: refs/heads/master@{#40230}

Powered by Google App Engine
This is Rietveld 408576698