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

Unified Diff: test/mjsunit/wasm/calls.js

Issue 1961973002: [wasm] Implement parallel compilation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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
Index: test/mjsunit/wasm/calls.js
diff --git a/test/mjsunit/wasm/calls.js b/test/mjsunit/wasm/calls.js
index 94e97e6995b203c8fe2e91d9feaba595f1b1feba..09699ca6dfa191d9459d819607db52f48a106004 100644
--- a/test/mjsunit/wasm/calls.js
+++ b/test/mjsunit/wasm/calls.js
@@ -7,39 +7,6 @@
load("test/mjsunit/wasm/wasm-constants.js");
load("test/mjsunit/wasm/wasm-module-builder.js");
-function assertModule(module, memsize) {
- // Check the module exists.
- assertFalse(module === undefined);
- assertFalse(module === null);
- assertFalse(module === 0);
- assertEquals("object", typeof module);
-
- // Check the memory is an ArrayBuffer.
- var mem = module.exports.memory;
- assertFalse(mem === undefined);
- assertFalse(mem === null);
- assertFalse(mem === 0);
- assertEquals("object", typeof mem);
- assertTrue(mem instanceof ArrayBuffer);
- for (var i = 0; i < 4; i++) {
- module.exports.memory = 0; // should be ignored
- assertEquals(mem, module.exports.memory);
- }
-
- assertEquals(memsize, module.exports.memory.byteLength);
-}
-
-function assertFunction(module, func) {
- assertEquals("object", typeof module.exports);
-
- var exp = module.exports[func];
- assertFalse(exp === undefined);
- assertFalse(exp === null);
- assertFalse(exp === 0);
- assertEquals("function", typeof exp);
- return exp;
-}
-
(function I64SubTest() {
var builder = new WasmModuleBuilder();

Powered by Google App Engine
This is Rietveld 408576698