Index: test/mjsunit/strong/function-arity.js |
diff --git a/test/mjsunit/strong/function-arity.js b/test/mjsunit/strong/function-arity.js |
index 11ee212a64a3f68798e65690d35296c8e2928fcb..c045d0847c439d0d333742f9542221c7b2beb72f 100644 |
--- a/test/mjsunit/strong/function-arity.js |
+++ b/test/mjsunit/strong/function-arity.js |
@@ -72,8 +72,7 @@ function generateSpread(n) { |
`f.bind(undefined)(${generateArguments(argumentCount)})`, |
`%_Call(f, ${generateArguments(argumentCount, 'undefined')})`, |
`%Call(f, ${generateArguments(argumentCount, 'undefined')})`, |
- `%Apply(f, undefined, [${generateArguments(argumentCount)}], 0, |
- ${argumentCount})`, |
+ `Reflect.apply(f, undefined, [${generateArguments(argumentCount)}])`, |
]; |
for (let call of calls) { |
@@ -135,8 +134,7 @@ function generateSpread(n) { |
`o.m.bind(o)(${generateArguments(argumentCount)})`, |
`%_Call(o.m, ${generateArguments(argumentCount, 'o')})`, |
`%Call(o.m, ${generateArguments(argumentCount, 'o')})`, |
- `%Apply(o.m, o, [${generateArguments(argumentCount)}], 0, |
- ${argumentCount})`, |
+ `Reflect.apply(o.m, o, [${generateArguments(argumentCount)}])`, |
]; |
for (let call of calls) { |