[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 Review-Url: https://codereview.chromium.org/2484643002 Cr-Commit-Position: refs/heads/master@{#40801}
Showing
Please
register
or
sign in
to comment