Index: test/mjsunit/wasm/test-wasm-module-builder.js |
diff --git a/test/mjsunit/wasm/test-wasm-module-builder.js b/test/mjsunit/wasm/test-wasm-module-builder.js |
index 8103d7b9bad457a8d0fccca5d39dd56d71096878..50797d055421ee524c0fa47ccc6d4ef1551eddae 100644 |
--- a/test/mjsunit/wasm/test-wasm-module-builder.js |
+++ b/test/mjsunit/wasm/test-wasm-module-builder.js |
@@ -103,7 +103,7 @@ var debug = false; |
var module = new WasmModuleBuilder(); |
module.addMemory(1, 1, false); |
module.addFunction("load", [kAstI32, kAstI32]) |
- .addBody([kExprI32LoadMem, 0, kExprGetLocal, 0]) |
+ .addBody([kExprI32LoadMem, 0, 0, kExprGetLocal, 0]) |
.exportAs("load"); |
module.addDataSegment(0, [9, 9, 9, 9], true); |