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

Issue 2484643002: [wasm] Compare the maximum memory size with the spec limit, not with the V8 limit (Closed)

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

Description

[wasm] Compare the maximum memory size with the spec limit, not with the V8 limit The maximum memory size is a user-defined upper limit for the size of the memory of a WebAssembly instance. The actual limit is the minimum of the user-defined limit and the V8 limit. With this CL we allow the user-defined limit to be greater than the V8 limit, which is required by the spec. R=titzer@chromium.org CC=gdeepti@chromium.org TEST=unittests/WasmModuleVerifyTest.MaxMaximumMemorySize Committed: https://crrev.com/15d4984b9cf5a22a7c7732ca51d2a13a573c4784 Cr-Commit-Position: refs/heads/master@{#40801}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add a negative test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -12 lines) Patch
M src/wasm/module-decoder.cc View 6 chunks +16 lines, -12 lines 0 comments Download
M src/wasm/wasm-module.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
ahaas
4 years, 1 month ago (2016-11-07 11:00:35 UTC) #1
titzer
lgtm with comment https://codereview.chromium.org/2484643002/diff/1/test/unittests/wasm/module-decoder-unittest.cc File test/unittests/wasm/module-decoder-unittest.cc (right): https://codereview.chromium.org/2484643002/diff/1/test/unittests/wasm/module-decoder-unittest.cc#newcode478 test/unittests/wasm/module-decoder-unittest.cc:478: TEST_F(WasmModuleVerifyTest, MaxMaximumMemorySize) { Can you also ...
4 years, 1 month ago (2016-11-07 11:41:58 UTC) #6
ahaas
https://codereview.chromium.org/2484643002/diff/1/test/unittests/wasm/module-decoder-unittest.cc File test/unittests/wasm/module-decoder-unittest.cc (right): https://codereview.chromium.org/2484643002/diff/1/test/unittests/wasm/module-decoder-unittest.cc#newcode478 test/unittests/wasm/module-decoder-unittest.cc:478: TEST_F(WasmModuleVerifyTest, MaxMaximumMemorySize) { On 2016/11/07 at 11:41:57, titzer wrote: ...
4 years, 1 month ago (2016-11-07 11:52:17 UTC) #9
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/2484643002/20001
4 years, 1 month ago (2016-11-07 12:24:09 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-07 12:25:53 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:24:35 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/15d4984b9cf5a22a7c7732ca51d2a13a573c4784
Cr-Commit-Position: refs/heads/master@{#40801}

Powered by Google App Engine
This is Rietveld 408576698