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

Unified Diff: test/mjsunit/wasm/export-table.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/export-table.js
diff --git a/test/mjsunit/wasm/export-table.js b/test/mjsunit/wasm/export-table.js
index 0a0d406f475d4be2d74e27b52d84b1864d234fac..1817a934485ab3904f2ba608988a8d671d7d40d9 100644
--- a/test/mjsunit/wasm/export-table.js
+++ b/test/mjsunit/wasm/export-table.js
@@ -7,7 +7,7 @@
load("test/mjsunit/wasm/wasm-constants.js");
(function testExportedMain() {
- var kBodySize = 3;
+ var kBodySize = 4;
var kReturnValue = 99;
var kNameMainOffset = kHeaderSize + 4 + 7 + kBodySize + 8 + 1;
@@ -22,6 +22,7 @@ load("test/mjsunit/wasm/wasm-constants.js");
0, 0, // signature index
kBodySize, 0,
// main body
+ kDeclNoLocals,
kExprReturn,
kExprI8Const,
kReturnValue,
@@ -45,7 +46,7 @@ load("test/mjsunit/wasm/wasm-constants.js");
})();
(function testExportedTwice() {
- var kBodySize = 3;
+ var kBodySize = 4;
var kReturnValue = 99;
var kNameMainOffset = kHeaderSize + 4 + 7 + kBodySize + 14 + 1;
var kNameFooOffset = kNameMainOffset + 5;
@@ -61,6 +62,7 @@ load("test/mjsunit/wasm/wasm-constants.js");
0, 0, // signature index
kBodySize, 0,
// main body
+ kDeclNoLocals,
kExprReturn,
kExprI8Const,
kReturnValue,

Powered by Google App Engine
This is Rietveld 408576698