Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: test/mjsunit/strong/function-arity.js

Issue 1739233002: [runtime] Remove obsolete %Apply and %TailCall runtime entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-function.cc ('k') | test/mjsunit/tail-call-intrinsic.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « src/runtime/runtime-function.cc ('k') | test/mjsunit/tail-call-intrinsic.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698