Index: test/mjsunit/wasm/instantiate-module-basic.js |
diff --git a/test/mjsunit/wasm/instantiate-module-basic.js b/test/mjsunit/wasm/instantiate-module-basic.js |
index 13a22615fca792f857fe9aa076674a10032ce1d1..fdca92328af597ca8fb8a1a8a867acd0d43a4c22 100644 |
--- a/test/mjsunit/wasm/instantiate-module-basic.js |
+++ b/test/mjsunit/wasm/instantiate-module-basic.js |
@@ -9,9 +9,9 @@ load("test/mjsunit/wasm/wasm-constants.js"); |
var kReturnValue = 117; |
var kBodySize = 2; |
-var kNameOffset = 19 + kBodySize + 1; |
+var kNameOffset = kHeaderSize + 19 + kBodySize + 1; |
-var data = bytes( |
+var data = bytesWithHeader( |
// -- memory |
kDeclMemory, |
10, 10, 1, |