Index: test/mjsunit/wasm/adapter-frame.js |
diff --git a/test/mjsunit/wasm/adapter-frame.js b/test/mjsunit/wasm/adapter-frame.js |
index 0e5d4b8c740f0921649037cbafcd8534f9e6475a..39164c7763e3dd9e5284dd9c9fa7689840f7f979 100644 |
--- a/test/mjsunit/wasm/adapter-frame.js |
+++ b/test/mjsunit/wasm/adapter-frame.js |
@@ -27,8 +27,10 @@ function makeSelect(type, args, which) { |
var builder = new WasmModuleBuilder(); |
var sig = new Array(); |
- sig.push(type); |
+ sig.push(args); |
for (var i = 0; i < args; i++) sig.push(type); |
+ sig.push(1); |
+ sig.push(type); |
builder.addFunction("select", sig) |
.addBody([kExprGetLocal, which]) |
.exportFunc(); |