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

Unified Diff: test/mjsunit/wasm/unreachable.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/unreachable.js
diff --git a/test/mjsunit/wasm/unreachable.js b/test/mjsunit/wasm/unreachable.js
index ff8759b84c4df40178ed130693f94da2f5ff3f03..842b0b676e802b1a243b9a905198d76e46ef76dc 100644
--- a/test/mjsunit/wasm/unreachable.js
+++ b/test/mjsunit/wasm/unreachable.js
@@ -9,7 +9,7 @@ load("test/mjsunit/wasm/wasm-constants.js");
var module = (function () {
var kFuncWithBody = 9;
var kFuncImported = 7;
- var kBodySize1 = 1;
+ var kBodySize1 = 2;
var kMainOffset = kHeaderSize + 6 + kFuncWithBody + kBodySize1 + 1;
var ffi = new Object();
@@ -25,6 +25,7 @@ var module = (function () {
0, 0, // signature offset
kMainOffset, 0, 0, 0, // name offset
kBodySize1, 0, // body size
+ kDeclNoLocals,
kExprUnreachable,
kDeclEnd,
'm', 'a', 'i', 'n', 0 // name

Powered by Google App Engine
This is Rietveld 408576698