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

Unified Diff: test/mjsunit/wasm/test-import-export-wrapper.js

Issue 2361053004: Revert of [wasm] Master CL for Binary 0xC changes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 df03aec9f5f499957f1c47975756b597e29ef061..e180611818b3a2f5272f321169e215fa3502800f 100644
--- a/test/mjsunit/wasm/test-import-export-wrapper.js
+++ b/test/mjsunit/wasm/test-import-export-wrapper.js
@@ -26,8 +26,8 @@
.addFunction("second_export", sig_index)
.addBody([
kExprGetLocal, 0,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity1, 0,
+ kExprReturn, kArity1
])
.exportFunc();
@@ -39,8 +39,8 @@
.addFunction("first_export", sig_index)
.addBody([
kExprGetLocal, 0,
- kExprCallFunction, 2,
- kExprReturn
+ kExprCallFunction, kArity1, 1,
+ kExprReturn, kArity1
])
.exportFunc();
first_module
@@ -49,8 +49,8 @@
kExprI32Const, 1,
kExprGetLocal, 0,
kExprI32Add,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity1, 0,
+ kExprReturn, kArity1
]);
var f = second_module
@@ -83,8 +83,8 @@
.addFunction("second_export", sig_index_1)
.addBody([
kExprGetLocal, 0,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity1, 0,
+ kExprReturn, kArity1
])
.exportFunc();
@@ -97,8 +97,8 @@
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, 2,
- kExprReturn
+ kExprCallFunction, kArity2, 1,
+ kExprReturn, kArity1
])
.exportFunc();
first_module
@@ -106,8 +106,8 @@
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity2, 0,
+ kExprReturn, kArity1
]);
var f = second_module
@@ -142,8 +142,8 @@
kExprGetLocal, 0,
kExprGetLocal, 1,
kExprGetLocal, 2,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity3, 0,
+ kExprReturn, kArity1
])
.exportFunc();
@@ -156,8 +156,8 @@
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, 2,
- kExprReturn
+ kExprCallFunction, kArity2, 1,
+ kExprReturn, kArity1
])
.exportFunc();
first_module
@@ -165,8 +165,8 @@
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity2, 0,
+ kExprReturn, kArity1
]);
var f = second_module
@@ -200,8 +200,8 @@
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity2, 0,
+ kExprReturn, kArity1
])
.exportFunc();
@@ -214,8 +214,8 @@
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, 2,
- kExprReturn
+ kExprCallFunction, kArity2, 1,
+ kExprReturn, kArity1
])
.exportFunc();
first_module
@@ -223,8 +223,8 @@
.addBody([
kExprGetLocal, 0,
kExprGetLocal, 1,
- kExprCallFunction, 0,
- kExprReturn
+ kExprCallImport, kArity2, 0,
+ kExprReturn, kArity1
]);
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