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

Unified Diff: test/mjsunit/wasm/instantiate-run-basic.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/instantiate-run-basic.js
diff --git a/test/mjsunit/wasm/instantiate-run-basic.js b/test/mjsunit/wasm/instantiate-run-basic.js
index 55e7c6e851319f27cc89d9775848bf1d5eca95ac..0def4a6738477a9f982f4974a9eff682a015dd45 100644
--- a/test/mjsunit/wasm/instantiate-run-basic.js
+++ b/test/mjsunit/wasm/instantiate-run-basic.js
@@ -8,7 +8,7 @@ load("test/mjsunit/wasm/wasm-constants.js");
var kReturnValue = 97;
-var kBodySize = 2;
+var kBodySize = 3;
var kNameOffset = kHeaderSize + 15 + kBodySize + 1;
var data = bytesWithHeader(
@@ -22,6 +22,7 @@ var data = bytesWithHeader(
kNameOffset, 0, 0, 0, // name offset
kBodySize, 0, // body size
// -- body
+ kDeclNoLocals, // --
kExprI8Const, // --
kReturnValue, // --
kDeclEnd,

Powered by Google App Engine
This is Rietveld 408576698