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

Unified Diff: test/mjsunit/wasm/instantiate-module-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-module-basic.js
diff --git a/test/mjsunit/wasm/instantiate-module-basic.js b/test/mjsunit/wasm/instantiate-module-basic.js
index fdca92328af597ca8fb8a1a8a867acd0d43a4c22..5aef1728d1afeed6ba076d7245be3ecbeec59435 100644
--- a/test/mjsunit/wasm/instantiate-module-basic.js
+++ b/test/mjsunit/wasm/instantiate-module-basic.js
@@ -8,7 +8,7 @@ load("test/mjsunit/wasm/wasm-constants.js");
var kReturnValue = 117;
-var kBodySize = 2;
+var kBodySize = 3;
var kNameOffset = kHeaderSize + 19 + kBodySize + 1;
var data = bytesWithHeader(
@@ -25,6 +25,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