Index: test/mjsunit/wasm/function-names.js |
diff --git a/test/mjsunit/wasm/function-names.js b/test/mjsunit/wasm/function-names.js |
index 15771d847073604ce457eef33d8ccd601e084561..94919b5e6c2758a25da69edb3f1e4d6125913869 100644 |
--- a/test/mjsunit/wasm/function-names.js |
+++ b/test/mjsunit/wasm/function-names.js |
@@ -19,11 +19,11 @@ var expected_names = ["exec_unreachable", "☠", null, |
for (var func_name of func_names) { |
last_func_index = builder.addFunction(func_name, kSig_v_v) |
- .addBody([kExprCallFunction, kArity0, last_func_index]).index; |
+ .addBody([kExprCallFunction, last_func_index]).index; |
} |
builder.addFunction("main", kSig_v_v) |
- .addBody([kExprCallFunction, kArity0, last_func_index]) |
+ .addBody([kExprCallFunction, last_func_index]) |
.exportFunc(); |
var module = builder.instantiate(); |