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

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

Issue 2595733003: [wasm] Remove non-standard kExprI8Const bytecode (Closed)
Patch Set: Remove regression test Created 3 years, 11 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/export-table.js
diff --git a/test/mjsunit/wasm/export-table.js b/test/mjsunit/wasm/export-table.js
index 7f7c1802819e64a0d393b21017e588b384067288..cc10b1378985adae9d029863470518671fc4a463 100644
--- a/test/mjsunit/wasm/export-table.js
+++ b/test/mjsunit/wasm/export-table.js
@@ -9,12 +9,12 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
(function testExportedMain() {
print("TestExportedMain...");
- var kReturnValue = 88;
+ var kReturnValue = 44;
var builder = new WasmModuleBuilder();
builder.addFunction("main", kSig_i_v)
.addBody([
- kExprI8Const,
+ kExprI32Const,
kReturnValue,
kExprReturn
])
@@ -30,13 +30,13 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
(function testExportedTwice() {
print("TestExportedTwice...");
- var kReturnValue = 99;
+ var kReturnValue = 45;
var builder = new WasmModuleBuilder();
builder.addFunction("main", kSig_i_v)
.addBody([
- kExprI8Const,
+ kExprI32Const,
kReturnValue,
kExprReturn
])
@@ -56,13 +56,13 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
(function testEmptyName() {
print("TestEmptyName...");
- var kReturnValue = 93;
+ var kReturnValue = 46;
var builder = new WasmModuleBuilder();
builder.addFunction("main", kSig_i_v)
.addBody([
- kExprI8Const,
+ kExprI32Const,
kReturnValue,
kExprReturn
])
@@ -78,13 +78,13 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
(function testNumericName() {
print("TestNumericName...");
- var kReturnValue = 93;
+ var kReturnValue = 47;
var builder = new WasmModuleBuilder();
builder.addFunction("main", kSig_i_v)
.addBody([
- kExprI8Const,
+ kExprI32Const,
kReturnValue,
kExprReturn
])

Powered by Google App Engine
This is Rietveld 408576698