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

Issue 2474333003: [wasm] Exported memory should set maximum property when maximum is defined. (Closed)

Created:
4 years, 1 month ago by gdeepti
Modified:
4 years, 1 month ago
Reviewers:
ahaas
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com, titzer
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Linear/Exported memory maximum property should be set when maximum is defined. - When module bytes have a memory maximum defined, compiled module object should set maximum memory - Exported memory objects should set maximum value on the memory objects - Update tests to use declared maximum values. R=ahaas@chromium.org Committed: https://crrev.com/625767df910ef6787c7524c456782d9d01617bb9 Cr-Commit-Position: refs/heads/master@{#40820}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Format #

Total comments: 4

Patch Set 4 : Fix Linear memory bounds #

Patch Set 5 : Fix tests #

Patch Set 6 : Format #

Patch Set 7 : Fix regression test #

Patch Set 8 : Format #

Total comments: 2

Patch Set 9 : Review #

Patch Set 10 : Andreas's review #

Patch Set 11 : Remove large allocation, fails on mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -19 lines) Patch
M src/wasm/wasm-js.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/wasm-module.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 7 8 9 6 chunks +16 lines, -8 lines 0 comments Download
M src/wasm/wasm-module-builder.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/wasm/regression-651961.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/grow-memory.js View 1 2 3 4 5 6 7 8 9 10 10 chunks +37 lines, -8 lines 0 comments Download
M test/mjsunit/wasm/import-memory.js View 1 2 3 4 5 6 7 8 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (35 generated)
gdeepti
4 years, 1 month ago (2016-11-04 06:06:13 UTC) #3
ahaas
Thanks for doing this so fast! lgtm https://codereview.chromium.org/2474333003/diff/10019/test/mjsunit/wasm/import-memory.js File test/mjsunit/wasm/import-memory.js (right): https://codereview.chromium.org/2474333003/diff/10019/test/mjsunit/wasm/import-memory.js#newcode208 test/mjsunit/wasm/import-memory.js:208: builder.addMemory(1, 10, ...
4 years, 1 month ago (2016-11-04 09:12:17 UTC) #8
gdeepti
https://codereview.chromium.org/2474333003/diff/10019/test/mjsunit/wasm/import-memory.js File test/mjsunit/wasm/import-memory.js (right): https://codereview.chromium.org/2474333003/diff/10019/test/mjsunit/wasm/import-memory.js#newcode208 test/mjsunit/wasm/import-memory.js:208: builder.addMemory(1, 10, true); On 2016/11/04 09:12:17, ahaas wrote: > ...
4 years, 1 month ago (2016-11-08 08:01:01 UTC) #24
ahaas
On 2016/11/08 at 08:01:01, gdeepti wrote: > https://codereview.chromium.org/2474333003/diff/10019/test/mjsunit/wasm/import-memory.js > File test/mjsunit/wasm/import-memory.js (right): > > https://codereview.chromium.org/2474333003/diff/10019/test/mjsunit/wasm/import-memory.js#newcode208 ...
4 years, 1 month ago (2016-11-08 08:07:07 UTC) #27
ahaas
https://codereview.chromium.org/2474333003/diff/130001/test/mjsunit/wasm/grow-memory.js File test/mjsunit/wasm/grow-memory.js (right): https://codereview.chromium.org/2474333003/diff/130001/test/mjsunit/wasm/grow-memory.js#newcode46 test/mjsunit/wasm/grow-memory.js:46: builder.addMemory(1, kV8MaxPages, false); Can you add a test where ...
4 years, 1 month ago (2016-11-08 08:11:08 UTC) #28
ahaas
On 2016/11/08 at 08:11:08, ahaas wrote: > https://codereview.chromium.org/2474333003/diff/130001/test/mjsunit/wasm/grow-memory.js > File test/mjsunit/wasm/grow-memory.js (right): > > https://codereview.chromium.org/2474333003/diff/130001/test/mjsunit/wasm/grow-memory.js#newcode46 ...
4 years, 1 month ago (2016-11-08 08:45:35 UTC) #29
gdeepti
On 2016/11/08 08:07:07, ahaas wrote: > On 2016/11/08 at 08:01:01, gdeepti wrote: > > > ...
4 years, 1 month ago (2016-11-08 08:48:31 UTC) #32
gdeepti
https://codereview.chromium.org/2474333003/diff/130001/test/mjsunit/wasm/grow-memory.js File test/mjsunit/wasm/grow-memory.js (right): https://codereview.chromium.org/2474333003/diff/130001/test/mjsunit/wasm/grow-memory.js#newcode46 test/mjsunit/wasm/grow-memory.js:46: builder.addMemory(1, kV8MaxPages, false); On 2016/11/08 08:11:08, ahaas wrote: > ...
4 years, 1 month ago (2016-11-08 08:50:18 UTC) #33
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/2474333003/190001
4 years, 1 month ago (2016-11-08 09:32:39 UTC) #42
commit-bot: I haz the power
Committed patchset #11 (id:190001)
4 years, 1 month ago (2016-11-08 09:55:12 UTC) #44
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:25:32 UTC) #46
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/625767df910ef6787c7524c456782d9d01617bb9
Cr-Commit-Position: refs/heads/master@{#40820}

Powered by Google App Engine
This is Rietveld 408576698