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

Unified Diff: test/mjsunit/wasm/compiled-module-serialization.js

Issue 2395133002: Revert of [wasm] Refactor import handling for 0xC. (Closed)
Patch Set: Created 4 years, 2 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/compiled-module-management.js ('k') | test/mjsunit/wasm/export-table.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/compiled-module-serialization.js
diff --git a/test/mjsunit/wasm/compiled-module-serialization.js b/test/mjsunit/wasm/compiled-module-serialization.js
index 96ebd8ab6359be6627dffd234b49b93fdbde610a..aa36b7188209fe07f7697c59c96836f327f52880 100644
--- a/test/mjsunit/wasm/compiled-module-serialization.js
+++ b/test/mjsunit/wasm/compiled-module-serialization.js
@@ -12,7 +12,7 @@
builder.addMemory(1,1, true);
var kSig_v_i = makeSig([kAstI32], []);
var signature = builder.addType(kSig_v_i);
- builder.addImport("some_value", kSig_i_v);
+ builder.addImport("some_value", kSig_i);
builder.addImport("writer", signature);
builder.addFunction("main", kSig_i_i)
@@ -65,7 +65,7 @@
(function RelationBetweenModuleAndClone() {
let builder = new WasmModuleBuilder();
- builder.addFunction("main", kSig_i_v)
+ builder.addFunction("main", kSig_i)
.addBody([kExprI8Const, 42])
.exportFunc();
@@ -81,7 +81,7 @@
(function SerializeAfterInstantiation() {
let builder = new WasmModuleBuilder();
- builder.addFunction("main", kSig_i_v)
+ builder.addFunction("main", kSig_i)
.addBody([kExprI8Const, 42])
.exportFunc();
« no previous file with comments | « test/mjsunit/wasm/compiled-module-management.js ('k') | test/mjsunit/wasm/export-table.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698