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 #
Messages
Total messages: 17 (11 generated)
|