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

Unified Diff: test/mjsunit/wasm/test-wasm-module-builder.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/test-wasm-module-builder.js
diff --git a/test/mjsunit/wasm/test-wasm-module-builder.js b/test/mjsunit/wasm/test-wasm-module-builder.js
index 8b9efad526b6202db847837a2046936711ce1a47..0fa55fadf62b72a6bed7e7ccd74fc0e3881e51e2 100644
--- a/test/mjsunit/wasm/test-wasm-module-builder.js
+++ b/test/mjsunit/wasm/test-wasm-module-builder.js
@@ -17,7 +17,7 @@ function instantiate(buffer, ffi) {
let builder = new WasmModuleBuilder();
builder.addMemory(1, 2, false);
builder.addFunction("foo", kSig_i_v)
- .addBody([kExprI8Const, 11])
+ .addBody([kExprI32Const, 11])
.exportAs("blarg");
var buffer = builder.toBuffer(debug);
@@ -29,7 +29,7 @@ function instantiate(buffer, ffi) {
let builder = new WasmModuleBuilder();
var index = builder.addImport("", "print", makeSig_v_x(kWasmI32));
builder.addFunction("foo", kSig_v_v)
- .addBody([kExprI8Const, 13, kExprCallFunction, index])
+ .addBody([kExprI32Const, 13, kExprCallFunction, index])
.exportAs("main");
var buffer = builder.toBuffer(debug);
@@ -121,7 +121,7 @@ function instantiate(buffer, ffi) {
let builder = new WasmModuleBuilder();
builder.addMemory(1, 2, false);
builder.addFunction("foo", kSig_i_v)
- .addBody([kExprI8Const, 17])
+ .addBody([kExprI32Const, 17])
.exportAs("blarg");
var buffer = builder.toBuffer(debug);
@@ -147,7 +147,7 @@ function instantiate(buffer, ffi) {
let builder = new WasmModuleBuilder();
var index = builder.addImport("mod", "print", makeSig_v_x(kWasmI32));
builder.addFunction("foo", kSig_v_v)
- .addBody([kExprI8Const, 19, kExprCallFunction, index])
+ .addBody([kExprI32Const, 19, kExprCallFunction, index])
.exportAs("main");
var buffer = builder.toBuffer(debug);

Powered by Google App Engine
This is Rietveld 408576698