Index: test/mjsunit/wasm/wasm-module-builder.js |
diff --git a/test/mjsunit/wasm/wasm-module-builder.js b/test/mjsunit/wasm/wasm-module-builder.js |
index 48ce48808c89a2611d32024e0f84e8d4baab575b..b32fd3bf053a7c0ad5c66e8c3dc651513b7df551 100644 |
--- a/test/mjsunit/wasm/wasm-module-builder.js |
+++ b/test/mjsunit/wasm/wasm-module-builder.js |
@@ -359,7 +359,7 @@ class WasmModuleBuilder { |
break; |
case kWasmI64: |
section.emit_u8(kExprI64Const); |
- section.emit_u8(global.init); |
+ section.emit_u32v(global.init); |
break; |
case kWasmF32: |
section.emit_u8(kExprF32Const); |