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

Unified Diff: test/mjsunit/wasm/import-table.js

Issue 2345593003: [wasm] Master CL for Binary 0xC changes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test failures and TSAN races. Created 4 years, 3 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/grow-memory.js ('k') | test/mjsunit/wasm/incrementer.wasm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/import-table.js
diff --git a/test/mjsunit/wasm/import-table.js b/test/mjsunit/wasm/import-table.js
index 8680addf615566166bc15a4afc470957b99fa9e4..aa836d6eacd5949c77ea6d4efafcc6c9fff4fe7a 100644
--- a/test/mjsunit/wasm/import-table.js
+++ b/test/mjsunit/wasm/import-table.js
@@ -16,7 +16,7 @@ function testCallImport(func, check) {
.addBody([
kExprGetLocal, 0, // --
kExprGetLocal, 1, // --
- kExprCallImport, 2, 0]) // --
+ kExprCallFunction, 0]) // --
.exportAs("main");
var main = builder.instantiate({func: func}).exports.main;
@@ -191,7 +191,7 @@ function testCallBinopVoid(type, func, check) {
.addBody([
kExprGetLocal, 0, // --
kExprGetLocal, 1, // --
- kExprCallImport, 2, 0, // --
+ kExprCallFunction, 0, // --
kExprI8Const, 99, // --
])
.exportFunc("main");
@@ -246,9 +246,9 @@ function testCallPrint() {
builder.addFunction("main", makeSig_r_x(kAstF64, kAstF64))
.addBody([
kExprI8Const, 97, // --
- kExprCallImport, kArity1, 0, // --
+ kExprCallFunction, 0, // --
kExprGetLocal, 0, // --
- kExprCallImport, kArity1, 1 // --
+ kExprCallFunction, 1 // --
])
.exportFunc();
@@ -270,8 +270,8 @@ function testCallImport2(foo, bar, expected) {
builder.addImport("bar", kSig_i);
builder.addFunction("main", kSig_i)
.addBody([
- kExprCallImport, kArity0, 0, // --
- kExprCallImport, kArity0, 1, // --
+ kExprCallFunction, 0, // --
+ kExprCallFunction, 1, // --
kExprI32Add, // --
]) // --
.exportFunc();
« no previous file with comments | « test/mjsunit/wasm/grow-memory.js ('k') | test/mjsunit/wasm/incrementer.wasm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698