Index: test/mjsunit/wasm/compiled-module-serialization.js |
diff --git a/test/mjsunit/wasm/compiled-module-serialization.js b/test/mjsunit/wasm/compiled-module-serialization.js |
index 471efac5d9cf9cce551b175bded6cc525be92465..89611653fbcdc33df20ea224795928fc8e2d18a7 100644 |
--- a/test/mjsunit/wasm/compiled-module-serialization.js |
+++ b/test/mjsunit/wasm/compiled-module-serialization.js |
@@ -66,7 +66,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
(function RelationBetweenModuleAndClone() { |
let builder = new WasmModuleBuilder(); |
builder.addFunction("main", kSig_i_v) |
- .addBody([kExprI8Const, 42]) |
+ .addBody([kExprI32Const, 42]) |
.exportFunc(); |
var wire_bytes = builder.toBuffer(); |
@@ -83,7 +83,7 @@ load("test/mjsunit/wasm/wasm-module-builder.js"); |
(function SerializeAfterInstantiation() { |
let builder = new WasmModuleBuilder(); |
builder.addFunction("main", kSig_i_v) |
- .addBody([kExprI8Const, 42]) |
+ .addBody([kExprI32Const, 42]) |
.exportFunc(); |
var wire_bytes = builder.toBuffer() |