Index: test/mjsunit/wasm/verify-function-simple.js |
diff --git a/test/mjsunit/wasm/verify-function-simple.js b/test/mjsunit/wasm/verify-function-simple.js |
index 99239d99cfed36f7325f1f6ee469f8032020a1d9..31c23a6b692c2e90d53adf29530ca47c59d315fb 100644 |
--- a/test/mjsunit/wasm/verify-function-simple.js |
+++ b/test/mjsunit/wasm/verify-function-simple.js |
@@ -8,9 +8,9 @@ load("test/mjsunit/wasm/wasm-constants.js"); |
try { |
var data = bytes( |
- 0, kAstStmt, // signature |
- kDeclNoLocals, // -- |
- kExprNop // body |
+ kWasmFunctionTypeForm, 0, kAstStmt, // signature |
+ kDeclNoLocals, // -- |
+ kExprNop // body |
); |
Wasm.verifyFunction(data); |
@@ -23,8 +23,8 @@ try { |
var threw = false; |
try { |
var data = bytes( |
- 0, kAstI32, // signature |
- kDeclNoLocals, // -- |
+ kWasmFunctionTypeForm, 0, 1, kAstI32, // signature |
+ kDeclNoLocals, // -- |
kExprBlock, kExprNop, kExprNop, kExprEnd // body |
); |