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

Unified Diff: test/mjsunit/wasm/module-memory.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/module-memory.js
diff --git a/test/mjsunit/wasm/module-memory.js b/test/mjsunit/wasm/module-memory.js
index bfc85f4e2b25d1f16018f716a18b524f736af96e..d7cc1297c92bca84d7985d6b28d2aeca5d94e71e 100644
--- a/test/mjsunit/wasm/module-memory.js
+++ b/test/mjsunit/wasm/module-memory.js
@@ -17,23 +17,23 @@ function genModule(memory) {
.addBody([
// main body: while(i) { if(mem[i]) return -1; i -= 4; } return 0;
// TODO(titzer): this manual bytecode has a copy of test-run-wasm.cc
- /**/ kExprLoop, kWasmStmt, // --
+ /**/ kExprLoop, kWasmStmt, // --
/* */ kExprGetLocal, 0, // --
- /* */ kExprIf, kWasmStmt, // --
+ /* */ kExprIf, kWasmStmt, // --
/* */ kExprGetLocal, 0, // --
/* */ kExprI32LoadMem, 0, 0, // --
- /* */ kExprIf, kWasmStmt, // --
- /* */ kExprI8Const, 255, // --
+ /* */ kExprIf, kWasmStmt, // --
+ /* */ kExprI32Const, 127, // --
/* */ kExprReturn, // --
/* */ kExprEnd, // --
/* */ kExprGetLocal, 0, // --
- /* */ kExprI8Const, 4, // --
+ /* */ kExprI32Const, 4, // --
/* */ kExprI32Sub, // --
/* */ kExprSetLocal, 0, // --
/* */ kExprBr, 1, // --
/* */ kExprEnd, // --
/* */ kExprEnd, // --
- /**/ kExprI8Const, 0 // --
+ /**/ kExprI32Const, 0 // --
])
.exportFunc();
var module = builder.instantiate(null, memory);

Powered by Google App Engine
This is Rietveld 408576698