Upgrade V8 to 5.1.281.57 DO NOT MERGE
FPIIM-449
Change-Id: Id981b686b4d587ac31697662eb98bb34be42ad90
(cherry picked from commit 3b9bc31999c9787eb726ecdbfd5796bfdec32a18)
diff --git a/test/mjsunit/wasm/verify-function-simple.js b/test/mjsunit/wasm/verify-function-simple.js
index c4d51c7..aa5c676 100644
--- a/test/mjsunit/wasm/verify-function-simple.js
+++ b/test/mjsunit/wasm/verify-function-simple.js
@@ -9,14 +9,11 @@
try {
var data = bytes(
0, kAstStmt, // signature
- 3, 0, // local int32 count
- 4, 0, // local int64 count
- 5, 0, // local float32 count
- 6, 0, // local float64 count
+ kDeclNoLocals, // --
kExprNop // body
);
- _WASMEXP_.verifyFunction(data);
+ Wasm.verifyFunction(data);
print("ok");
} catch (e) {
assertTrue(false);
@@ -27,14 +24,11 @@
try {
var data = bytes(
0, kAstI32, // signature
- 2, 0, // local int32 count
- 3, 0, // local int64 count
- 4, 0, // local float32 count
- 5, 0, // local float64 count
+ kDeclNoLocals, // --
kExprBlock, 2, kExprNop, kExprNop // body
);
- _WASMEXP_.verifyFunction(data);
+ Wasm.verifyFunction(data);
print("not ok");
} catch (e) {
print("ok: " + e);