Index: test/mjsunit/wasm/params.js |
diff --git a/test/mjsunit/wasm/params.js b/test/mjsunit/wasm/params.js |
index 7c2b3d1794209522eacc626bf108550f5a72bda3..180ab1c6fb7ce61955584bb253dc75ed94ed2da3 100644 |
--- a/test/mjsunit/wasm/params.js |
+++ b/test/mjsunit/wasm/params.js |
@@ -17,7 +17,7 @@ function testSelect2(type) { |
var builder = new WasmModuleBuilder(); |
- builder.addFunction("select", [type, type, type]) |
+ builder.addFunction("select", makeSig_r_xx(type, type)) |
.addBody([kExprGetLocal, which]) |
.exportFunc() |
@@ -79,7 +79,7 @@ function testSelect10(t) { |
print("type = " + t + ", which = " + which); |
var builder = new WasmModuleBuilder(); |
- builder.addFunction("select", [t,t,t,t,t,t,t,t,t,t,t]) |
+ builder.addFunction("select", [10,t,t,t,t,t,t,t,t,t,t,1,t]) |
.addBody([kExprGetLocal, which]) |
.exportFunc(); |