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

Unified Diff: test/mjsunit/wasm/divrem-trap.js

Issue 1763433002: [wasm] Rework encoding of local declarations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/divrem-trap.js
diff --git a/test/mjsunit/wasm/divrem-trap.js b/test/mjsunit/wasm/divrem-trap.js
index 08d1cd82a988e122510d2b748df0b989c1ba6bb2..9f0a1b5bfc3339b7b8942b22f10e8da4f4f29c49 100644
--- a/test/mjsunit/wasm/divrem-trap.js
+++ b/test/mjsunit/wasm/divrem-trap.js
@@ -30,7 +30,7 @@ function assertTraps(code, msg) {
function makeDivRem(opcode) {
- var kBodySize = 5;
+ var kBodySize = 6;
var kNameMainOffset = kHeaderSize + 6 + 11 + kBodySize + 1;
var data = bytesWithHeader(
@@ -44,6 +44,7 @@ function makeDivRem(opcode) {
kNameMainOffset, 0, 0, 0, // name offset
kBodySize, 0,
// main body
+ kDeclNoLocals,
opcode, // --
kExprGetLocal, 0, // --
kExprGetLocal, 1, // --

Powered by Google App Engine
This is Rietveld 408576698