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

Unified Diff: test/mjsunit/wasm/ffi-error.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/ffi-error.js
diff --git a/test/mjsunit/wasm/ffi-error.js b/test/mjsunit/wasm/ffi-error.js
index ed6aa2542810fa7dc804fcc1e88f1e13d3b677fe..2eb70b9dad27efdfb8af916f5c10833c9fa155f9 100644
--- a/test/mjsunit/wasm/ffi-error.js
+++ b/test/mjsunit/wasm/ffi-error.js
@@ -7,7 +7,7 @@
load("test/mjsunit/wasm/wasm-constants.js");
function testCallFFI(ffi) {
- var kBodySize = 6;
+ var kBodySize = 7;
var kNameAddOffset = kHeaderSize + 28 + kBodySize + 1;
var kNameMainOffset = kNameAddOffset + 4;
@@ -28,6 +28,7 @@ function testCallFFI(ffi) {
kNameMainOffset, 0, 0, 0, // name offset
kBodySize, 0,
// main body
+ kDeclNoLocals,
kExprCallFunction, 0, // --
kExprGetLocal, 0, // --
kExprGetLocal, 1, // --

Powered by Google App Engine
This is Rietveld 408576698