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

Unified Diff: test/mjsunit/wasm/instantiate-module-basic.js

Issue 1597163002: wasm: change the module memory size to be multiples of the page size, 64k. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/wasm/ffi-error.js ('k') | test/mjsunit/wasm/module-memory.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/instantiate-module-basic.js
diff --git a/test/mjsunit/wasm/instantiate-module-basic.js b/test/mjsunit/wasm/instantiate-module-basic.js
index fdca92328af597ca8fb8a1a8a867acd0d43a4c22..20ae4d43039900789a99fb78cd2506c9b8b8690f 100644
--- a/test/mjsunit/wasm/instantiate-module-basic.js
+++ b/test/mjsunit/wasm/instantiate-module-basic.js
@@ -14,7 +14,7 @@ var kNameOffset = kHeaderSize + 19 + kBodySize + 1;
var data = bytesWithHeader(
// -- memory
kDeclMemory,
- 10, 10, 1,
+ 1, 1, 1,
// -- signatures
kDeclSignatures, 1,
0, kAstI32, // signature: void -> int
@@ -51,7 +51,7 @@ for (var i = 0; i < 4; i++) {
assertEquals(mem, module.memory);
}
-assertEquals(1024, module.memory.byteLength);
+assertEquals(65536, module.memory.byteLength);
// Check the properties of the main function.
assertFalse(module.main === undefined);
« no previous file with comments | « test/mjsunit/wasm/ffi-error.js ('k') | test/mjsunit/wasm/module-memory.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698