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

Unified Diff: test/mjsunit/wasm/test-import-export-wrapper.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/start-function.js ('k') | test/mjsunit/wasm/test-wasm-module-builder.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/test-import-export-wrapper.js
diff --git a/test/mjsunit/wasm/test-import-export-wrapper.js b/test/mjsunit/wasm/test-import-export-wrapper.js
index e180611818b3a2f5272f321169e215fa3502800f..df03aec9f5f499957f1c47975756b597e29ef061 100644
--- a/test/mjsunit/wasm/test-import-export-wrapper.js
+++ b/test/mjsunit/wasm/test-import-export-wrapper.js
@@ -26,8 +26,8 @@ var expect_no_elison = 1;
.addFunction("second_export", sig_index)
.addBody([
kExprGetLocal, 0,
- kExprCallImport, kArity1, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
])
.exportFunc();
@@ -39,8 +39,8 @@ var expect_no_elison = 1;
.addFunction("first_export", sig_index)
.addBody([
kExprGetLocal, 0,
- kExprCallFunction, kArity1, 1,
- kExprReturn, kArity1
+ kExprCallFunction, 2,
+ kExprReturn
])
.exportFunc();
first_module
@@ -49,8 +49,8 @@ var expect_no_elison = 1;
kExprI32Const, 1,
kExprGetLocal, 0,
kExprI32Add,
- kExprCallImport, kArity1, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
]);
var f = second_module
@@ -83,8 +83,8 @@ var expect_no_elison = 1;
.addFunction("second_export", sig_index_1)
.addBody([
kExprGetLocal, 0,
- kExprCallImport, kArity1, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
])
.exportFunc();
@@ -97,8 +97,8 @@ var expect_no_elison = 1;
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, kArity2, 1,
- kExprReturn, kArity1
+ kExprCallFunction, 2,
+ kExprReturn
])
.exportFunc();
first_module
@@ -106,8 +106,8 @@ var expect_no_elison = 1;
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallImport, kArity2, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
]);
var f = second_module
@@ -142,8 +142,8 @@ var expect_no_elison = 1;
kExprGetLocal, 0,
kExprGetLocal, 1,
kExprGetLocal, 2,
- kExprCallImport, kArity3, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
])
.exportFunc();
@@ -156,8 +156,8 @@ var expect_no_elison = 1;
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, kArity2, 1,
- kExprReturn, kArity1
+ kExprCallFunction, 2,
+ kExprReturn
])
.exportFunc();
first_module
@@ -165,8 +165,8 @@ var expect_no_elison = 1;
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallImport, kArity2, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
]);
var f = second_module
@@ -200,8 +200,8 @@ var expect_no_elison = 1;
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallImport, kArity2, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
])
.exportFunc();
@@ -214,8 +214,8 @@ var expect_no_elison = 1;
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, kArity2, 1,
- kExprReturn, kArity1
+ kExprCallFunction, 2,
+ kExprReturn
])
.exportFunc();
first_module
@@ -223,8 +223,8 @@ var expect_no_elison = 1;
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallImport, kArity2, 0,
- kExprReturn, kArity1
+ kExprCallFunction, 0,
+ kExprReturn
]);
var f = second_module
« no previous file with comments | « test/mjsunit/wasm/start-function.js ('k') | test/mjsunit/wasm/test-wasm-module-builder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698