Index: test/mjsunit/wasm/instantiate-run-basic.js |
diff --git a/test/mjsunit/wasm/instantiate-run-basic.js b/test/mjsunit/wasm/instantiate-run-basic.js |
index b103e8f4394f64b38cdeac2eea4b95306a3b0804..55e7c6e851319f27cc89d9775848bf1d5eca95ac 100644 |
--- a/test/mjsunit/wasm/instantiate-run-basic.js |
+++ b/test/mjsunit/wasm/instantiate-run-basic.js |
@@ -9,9 +9,9 @@ load("test/mjsunit/wasm/wasm-constants.js"); |
var kReturnValue = 97; |
var kBodySize = 2; |
-var kNameOffset = 15 + kBodySize + 1; |
+var kNameOffset = kHeaderSize + 15 + kBodySize + 1; |
-var data = bytes( |
+var data = bytesWithHeader( |
// -- signatures |
kDeclSignatures, 1, |
0, kAstI32, // signature: void -> int |